I want to use http://{s}.google.com/vt?lyrs=m&x={x}&y={y}&z={z}', {subdomains:['mt0','mt1','mt2','mt3']} - google maps tile template. This is possible? I can't find how to do it in here maps, but I know that it is possible in different map libraries. And, if it is possible, I can use this with vector.normal.truck layers, to see what route is allowed for some trucks?
Related
Been searching for the last hour or so and cannot find anything regarding custom css for the directions panel output for Google Maps v3. I am trying to customize the css for the text-directions as shown at Google Doc.
I took at look at the css generated on my map and it is using various ids and classes starting with 'adp', but the few places I did find in my searching had no reference to this.
Is there any 'standard' css or method to customize it? I am afraid to modify these 'adp' entries for fear that it will change at any time or that is possibly different naming for different people/locations.
Any information on this would be great!
I'm using osm maps with css files in my app (in iOS, but it does not matter) for customizing their appearance. I'd like to make them looks like google maps. Where I can find css or something like that for google maps? I need to know only colors of main highways and zones, so if you know them tell me)) thanks in advance!
Pretty sure you would have to dive into the Google Maps API to extract the kind of information you are looking for, I could be mistaken but Google does not offer a CSS way to manipulate its maps look and feel.
OR
Bring up a Google Map, take a screen shot and then use the eye dropper in your favourite graphics program to extract the HEX values.
I've imported a city feed for construction on a Google Map API v3. Unfortunately, the default color is a blue that doesn't convey the "caution" needed for construction. Is there an easy way to change the colour of the GeoRSS overlay? Thanks!
No, there isn't an easy way to change the color/styling of a GeoRSS overlay you are pulling in from another service. KML/GeoRSS features are rendered on the map to look like Polylines, Polgyons, and Markers, but they're not full-fledged objects in that sense. If you look at the KmlLayer documentation you'll see that your options are really limited to showing it on a map and making it clickable.
What you need to do is process the GeoRSS / KML somewhere else and add styling information to it that colors the line appropriately. I would probably implement this in a server-side language of your choice, but you could also try to use JavaScript to parse the GeoRSS and create first-class Polyline objects yourself which you'd have full control over.
I am using Google Maps JS API v3 to display several custom map types. I would like to group them in the same way Roadmap/Terrain and Satellite/Hybrid are displayed: as sub-maps of one map.
This was possible in the v2 of the API by using GHierarchicalMapTypeControl. However, I can't seem to find any equivalent in v3. Is there a way to achieve this with v3? If not, do you know if there are any plans of supporting it in the near future?
I suggest writing a custom control (see http://code.google.com/apis/maps/documentation/javascript/controls.html)
Custom controls are just HTML elements, so you could use jQuery or similar to create any UI you want.
If you want them to look like the existing controls, the CSS for that is available in this example:
http://code.google.com/p/gmaps-samples-v3/source/browse/trunk/controls/index.html?spec=svn243&r=243
I've stumbled upon this flash map
http://www.washingtonpost.com/wp-srv/special/nation/unemployment-by-county/
it looks like they used this map to construct the website.
http://commons.wikimedia.org/wiki/File:USA_Counties_with_FIPS_and_names.svg
I am curious as to what people have done or any blogs that describe what can be done with flex and simple maps like this (not google maps style maps) but simple all-in-memory maps like this one. It would be cool to see what/ and how flex can do in terms of maps.
thanks!
You would need to draw the entire map. Its more of like a custom component. The below class would is how to start with.
http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html