We will refer to this in Javascript file. The important part is the tag with id of map-canvas. The code is also available on and a full screen version is available also on. Feel free to download map-buffer-example.js to create your own example. Feel free to click on the map to create a marker with 20 km radius/buffer around it. The final result is available on Make a 20 km radius/buffer page. create a circle around the marker with 20 km radius (buffer).allow user to click anywhere on the map and create a marker automatically.In this post we will look at an example of creating a circle with Google Maps API. Google Maps API v3 allows creation of various different kinds of markers, of which point and circle can be useful in making buffers around a point.
0 Comments
Leave a Reply. |