The script will make a layer grid over the google maps.
Something similar with what3words
[login to view URL]
The square size must be declared as a constant and can be changed.
Example :
gridSize = 10
where 10 means a square by 10 x 10 meters
The script must use google maps api (v3) and may use the rectangle primitive:
Each grid square must have an click event to it and display something in console
when clicked.
You can start from this example found on Stackexchange
[login to view URL]
[login to view URL]
The script must be coded in a efficient way - the grid should be written/displayed only for the current viewport, not for the entire world map. It should have the option to hide if a zoom change greater than n
+ bonus points if the script can work with Openstreetmap in a similar fashion
I have worked with google map api many times, ans this task seem not very difficult to me.
Hope that i will have a change to work with you.
Thanks for reading
$111 USD in 3 days
5.0 (47 reviews)
5.2
5.2
7 freelancers are bidding on average $212 USD for this job
OK, I can make this for google maps. I can also attempt to make it work with Openstreetmap...but I cannot promise it. I have done work with map pointers working in both systems using opelayers...but it has been a while.