When i am searching for some country area in maps on standard web UI it shows me the area borders.
I would like to mark this areas dynamically in embedded map on my website, but i dont know how exactly i have to formulate search query to find if there is some way to achieve this.
I was not found anything about this in reference.
does google offer some API for this in last maps js API?
You need a Polygon-Overlay or a KML-Layer which defines the borders.
Related
I was wondering if you could put a custom StreetView with a marker. I am making a map that has city parks. I want it so if someone clicks on a specific marker, the custom StreetView pops up and shows the panorama. For the custom StreetViews I used Google Views. Is this possible?
Thanks in advance.
Yes, this is possible. Something close to it can be done in two ways.
The easiest option is to load Google maps from the main URL and wait. It will let you build a map or view your custom maps just below the search bar. Google Maps itself lets you create a custom map with markers. This doesn't sound like your desired option, but it is quick to implement. You can even add your own style.
The second is to create your own custom Street View tour, this sounds like your focus. You want the actual panographs to use your markers. This is fairly easy to do, but requires some programming. It is possible on both Google Earth and Google Maps. Check out the Google APIs such as https://developers.google.com/maps/documentation/javascript/reference#StreetViewPanoramaOptions. Options include changing out panographs for your own images, defining arrows including labels, overlays, pop-up boxes, action boxes, and more. Check out some options here: http://hpneo.github.io/gmaps/examples.html
I'm looking for a way to add images to the Google Map interface itself, not fixed on a point on the geographical map but on the Google Maps "window". Something to display Map Legends on the map itself.
I've been looking through the net but can't seem to find a way to do this. As you can tell I don't really know what this is called also, so that may be the reason why I ca
You have to open infowindow on map and put image in it.
Try with this answer : google maps api v3 - how to display image thumbnails inside bubble?
I am wondering if i am allowed to add an image overlay to a static Google Street View image.
The idea behind this question is adding a person/object to the street view image in an android application (and displaying it) without further processing of the outcome.
Would this violate "10.1.3 a)" of the Google Maps/Google Earth APIs Terms of Service?
I am not really sure about that, because "(i) creating server-side modification of map tiles" is listed as a forbidden example, but I only want to do add a client-based overlay without modifying the Street View Image as itself.
Thanks for your help!
Did you read this section? https://developers.google.com/maps/documentation/javascript/streetview#StreetViewOverlays
It seems that the Street View API supports overlays.
If you read the link from Vitor, it says that:
"Currently, the types of overlays which are supported on Street View
panoramas are limited to Markers, InfoWindows and custom OverlayViews.
"
So unless you implement your own custom overlayview, image overlays (like a ground overlay) aren't supported
hi i have polygon Placemarks using fusion tables, when i try to configure styles i am uable to hide shadows, is is possible to do this using google map js api.
see example here
https://www.google.com/fusiontables/embedviz?viz=MAP&q=select+col0+from+13fHuXHIQB55s_C7tpQQFArYMHORjmmThqK9jarQ&h=false&lat=56.168558817410656&lng=2.1851482391250556&z=7&t=1&l=col0
Also do you think such bulky data can be shown in leafletjs using KML. so that i have more control over it.
Are you aware that you can use your fusion table as a layer on the standard Google Maps API rather than using /embedviz ?
https://developers.google.com/maps/documentation/javascript/layers#FusionTables
That should give you more control over how it's rendered. On a separate note, I'm not sure if this is relevant but I came across it:
https://developers.google.com/fusiontables/docs/articles/fusiontables_styling
I have a fully functioning map using the API v3 with markers placed as a result of database searches, and info windows that pop up correctly. So far, so good.
What I would like to do is to allow the user to place a marker on the map manually, i.e by dragging and dropping a placemark in exactly the same way as google "My Maps" uses to build a map or by clicking on the map.
There are several reasons for doing this, but one is that I would like the user to easily identify a centre point of interest so that I can filter searches within a radius of this point.
I would have thought that this option would be useful to others.
Maybe I am using the wrong search terms for this, and the terms "marker" and "placemark" seem to be interchangeable, which doesnt help, but I cannot formulate a search which has even shown that anyone else is trying to do this.
Have you seen this example of the drawing tools, it allows you to add Markers, Polylines and Polygons, you can customize it to just do Markers.
Here is the documentation for the Drawing Manager