Google Maps Polygon Outer Fill - google-maps-api-3

Is it possible to create a polygon with Google Maps API where the polygon is completely clear and outside the polygon is shaded?

If you mean something like a hole, try the suggestions here
How to add a "hole" to a Circle Polygon (Google Maps API V3)

Related

FacetWP - Drawing Tools

does someone has any suggestion for me in order to implement Google Drawing Tools to FacetWP Map? Basically there will be a map with marker on all houses a real estate agency has and we need to add possibility to draw on map a polygon or circle in order to check houses availability in that space or radius. Thank you very much.
https://developers.google.com/maps/documentation/javascript/examples/drawing-tools

How to get road direction vector from coordinate input to google maps api or directions api

I am working on a project that requires I plot markers at metropolitan coordinates via the Google Maps API. I can plot the markers just fine and draw polygons easily, but I need to draw polygons parallel to the road common to each coordinate and if possible, find traffic direction. Each coordinate input is verified to be next to a road in a a downtown metropolitan area. Is it possible to get that information from the Google Maps API or open streets API?
A sample coordinate is [47.6018, -122.314].
There are multiple online routers based on OpenStreetMap data availabe. Several of them offer a GPX export. Try for example OSRM or graphhopper.

Use containsLocation with Fusiontable point layer and drawn polygon

I would like to be able to select all points from a fusiontable layer that are within a drawn polygon in google maps api 3.
I know in Google Maps API v3 there is the containsLocation method in geometry library, but I dont know how to extract lat/lon from the fusiontable layer and make a loop that will scan over all the markers in the layer.
Thank you very much if you can help with that.
You can extract the data from the FusionTable using the FusionTables API v1.
Example that extracts kml "Points" from a FusionTable and displays them as markers

Creating a polygon by joining polylines in Google maps

We are trying to create boundary maps of various zones in a city using Google maps or earth. Creating polygons for each zone makes the common boundary look different with zoom. Hence we are planning to create segments (shared boundary) with polylines. However, this requires joining multiple polylines (boundary segments) to create a zone (closed boundary) with properties of a polygon. I could not get any option where we can do this. Can anyone help us to address this problem?
Try looking into these links, it can be of help
Example:
http://gmaps-samples-v3.googlecode.com/svn/trunk/drawing/drawing-tools.html
Documentation:
https://developers.google.com/maps/documentation/javascript/overlays#drawing_tools

Google Maps Distance Calculator api

I found this cool feature in google map that allows to calculate distance between two points of interest. It doesn't simple calculate the linear distance petween points but allows to draw on the Map the route on the map. Have you ever used it? Do you know where i can find the API documentation?
Google's Maps API is publicly available. You might be looking for DistanceMatrix. You could then use Polyline to create the route, and DrawingManager to draw it.

Resources