Is it possible to make a bend in Google maps polyline.
Sample Example is here
I want to make a line over the railway and not a straight line.
Is it feasible?
Yes of course, you only have to look at the documentation of google maps, there are many examples, you just have to replace the latitude and longitude Google Maps API
Related
Is there a way to highlight a specified road or street using Google Maps API V3?
Here is an example of what I am trying to get (image from searching a place in google): example
Styled maps does not do what I want since it will apply to all roads. Polylines is an option but finding the coordinates can be a bit of a pain since they are not always complete.
Thanks.
It has already been discussed and I'm afraid you'll have to use polylines.
This might be useful though : Highlighting whole street with some maps API
I'm a big fan of OpenLayers. The only thing i'm missing here are directions.
Since google maps supports directions, I want to integrate these with OpenLayers.
Is it possible to use the google maps api to get directions from point A to point B (support for waypoints?) and then display on my map (as an extra vector layer?)?
Google Maps doesn't support directions. and you have to use Google Directions API to get you direction instructions. as for displaying the directions on google maps, it's can be done. head to this post to
first post
or:
second post
to read more.
I'm not sure where to start looking in the documentation, but I'm trying to load map images of cities with their boundaries outlined.
Like this...
Any help getting started would be greatly appreciated, I'm pretty new to the maps api.
Thanks
There is currently no way to request a map with boundaries automatically rendered on it. Your best bet is to pull the polygon information from another system and render using an encoded polyline if you're using the Static Map API or regular overlays in the JavaScript API.
Google Static Map API
Here it is
here, some links to help you:
Geographical boundaries of states/provinces -> Google Maps Polygon
EInsert extension
Boundary Draw - Google Map Application
Getting neighbourhood boundaries from Google Maps API
https://stackoverflow.com/questions/8441467/can-you-draw-custom-search-boundaries-in-google-map
Ability to draw boundaries on Google Maps
does someone know how can i add the distance ruler to my api map, or any other quick way to se the distance bwtween 2 direct points?
You could try some of the js extensions available online. For example:
http://code.google.com/p/earth-api-utility-library/source/browse/trunk/extensions/examples/ruler.html?r=41
I'm not familiar with the Google Maps API, but given latitude and longitude of any two points you can use a great circle calculation to determine the distance between them.
I am using the google maps api v2 to build attraction guide mashup. Currently it shows some landmarks on the tiles it returns. I notice some of the geocoding of certain attractions is off.
Is there a way I can tell google to send back map tiles with no land marks? I cant seem to find any info on the api docs about it.
As of Google Maps API v3, you can use the Google Maps API Styled Map Wizard to do exactly this.
There is no way to request custom tiles from Google. Your only option is to choose from the available map types, or to generate your own tiles.
The Terrain map (G_PHYSICAL_MAP) might be more acceptable for you.