Google Earth API: Turn off labels - google-earth

In the following post it is mentioned that you can turn off "individual layers within ge.LAYER_BORDERS" by looking "in the KML file" and getting the layer ID. Anyone know what KML file to look in to find this ID? The reason I ask, is because I would like to turnoff the state/country labels.
Turning off country borders via the KML
Thanks,
Brandon

The API documentation states that "Not all of the layers that are available in the Google Earth desktop client are available with the plugin."
Available layers in Google Earth API are:
LAYER_BORDERS
LAYER_BUILDINGS
LAYER_BUILDINGS_LOW_RESOLUTION
LAYER_ROADS
LAYER_TERRAIN
LAYER_TREES
The LAYER_BORDERS layer shows country and area borders, and place labels for cities, states, countries, oceans, etc. so disabling this layer would remove state/country labels.

Related

Google Earth Web/Online WMS

I am trying to add a WMS service to Google Earth Web/Online: https://earth.google.com/web
I tried importing a .kml file that works in the desktop version of GE but had no success. I also tried adding a tile overlay, which failed as well. I could not find any recommendations for working with WMS services in the google faq/ help docs or on the web. Has anyone been successful with this?
The WMS I would like to add: http://www.geoportal.rlp.de/mapbender/php/wms.php?layer_id=61675&REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS&withChilds=1
WMS overlays currently work in Google Earth Pro, but they do not work in Earth v9.x (web & mobile apps) at this time.
But in Earth for web, you should be able to add a Tile Layer that loads a set of Google Map Tiles (the same tile format as you would use with the Google Maps Platform / Maps API). You need the URL for the tile layer, with the appropriate $[x], $[y] and $[level] variables (note "level" instead of "z"). You'll also want to add the N/S/E/W tile extent coordinates. And I believe it only supports 256x256 tiles at this time. Let us know how you're trying to add a tile layer, and we can try to debug that.

How to disable public transport icons in GoogleMaps for Android v2?

I'm afraid the answer is: You can't, but I think, asking won't hurt.
My client is a public transport company and they want a visualization of all of their bus stops on a map. Problem is: Their GPS measurements don't line up with the icons that are "baked into" the map from Google by default.
Does anyone know, how to disable these icons on purpose? The only thing I could find in the API to manipulate the look of the map was this very limited option to go toggle between street, terrain and satellite views. As you can see here, that doesn't do the trick.
I figure, if I want to achieve what I want to, I need to adopt an open street maps widget?
Yes, you can't currently. There is a feature request on gmaps-api-issues already for that.
You may want to try satellite. Link you have put shows hybrid (satellite + roads and things like that).

Topographic type of map on routeme in iphone?

I have integrated offline maps into my project with the help of route-me sample app (https://github.com/route-me/route-me). But my client wants to show topographical type of map as the open street map. I have searched over the internet, couldn't find any helpful resources.
Do you know any resources I should follow to implement this feature?
Should I have to use another way of implement the Open Street Maps in
order to get the topographic type of map?
You should maybe have a look at mapbox.com and their map tool (TileMill) which allow you to add and customize your own layers.
As for the topographic data needed to create your layers, you should be able to find some on websites like http://www.naturalearthdata.com/.

Custom Maps in iPad App

I just want to build a drill down map like this - Drill Down Map
Here I want to show some data on tapping of each regions.I am out of clue. How can I ? What should I use ? From where to start ?
EDIT : In the link it's showing the country name on mouse over, instead of that I want to show some data/info of the country on touch. Please visit the map shown in the link,you'll get the whole idea.
Thanks !!
If you want total control on the map layout, and be able to check which country the users taps, there's no secret : you need to have boundaries of all countries you want to detect.
Here's the global approach I would use to reimplement something that looks like the map you linked to (I can you into more details if you want, but at first, here's the global approach) :
Get the data of the boundaries of the countries you need. This can be done using OpenStreetMap.org data.
[EDIT] I just came accross this website to download countries boundaries as files you can then use with tilemill : http://www.gadm.org/country
Use this data with tilemill (http://mapbox.com/tilemill/) : this tool is able to design maps using a language that looks like CSS but dedicated for maps. The results is great and the tool great as well. This tool also support shapes files, so if you can get the countries boundaries as shapefiles, you'll be able to use them with tilemill, and this will be easier than using .osm files from open street map). Have a look here http://mapbox.com/tilemill/data/ for the supported formats.
Then, with tilemill, export your map as an MBTile file (this file contains all tiles needed to get the map rendered at different zoom levels).
Use the route-me project to display the resulting MBTile file (in its latest version, route-me is able to do that, this feature has been implemented by the mapbox team to support their open format MBTile).
Guys from Mapbox have published a good tutorial "from data to maps" here : http://mapbox.com/demo/making_massredistrict/ this may help as well
Your best bet is to use CloudMade ( http://cloudmade.com/ ). They provide custom map builders program where you can build custom maps and can integrate those maps in your iOS app.
Depends what you are looking for. To implement the linked example it's enough with a giant image that you can split in tiles using CATiledLayer. You'll find examples if you google a little, PhotoScroller is one. If you want to display real maps you have to investigate the route me project.
I don't think that using images could be good option.Check this link - arcgis-iphone api. I am not so sure but you can get some idea from this.
Happy to help..

How to download OpenStreetMap tiles from CloudMade?

how to download cloudmade map tiles? i have to download tiles with different zoom levels? how save these tiles to database for later loading? any sample code available? any help is appreciated..
There are different options available to you.
First, you can use the Javascript "Web Maps API". This is useful if you are wanting to show the maps on a website. It will download the required tiles and display them appropriately, and give you the interface to pan and zoom the map. See their pages at http://developers.cloudmade.com/projects/show/web-maps-api
Second option is if you want to access the map tiles directly. They call it their HTTP Maps API. You will need to make the calcuations of which tiles to download, how to arrange them etc for your own application. Have a look at http://developers.cloudmade.com/projects/show/tiles
Finally, although you don't mention it in your question, I see the question is tagged with "iphone" and other related things. Perhaps you want to look at their iPhone SDK, which is similar to the Web Maps API. See http://www.developers.cloudmade.com/wiki/iphone-sdk/Examples for examples on how to use it.