Question
Customize Google Map Control in ML9 or 7.2
Hi Folks,
I have a request to add functionalities to the Google Map control, customer want to add the capability to draw a rectangle or a circle on the map and show all the branches within that circle or rectangle.
I checked the Google API behind the Map and it should be possible, I was checking how to customize the Google Map Control and extend the functionality but I didn't find the script, do you have suggestion?
Thanks in advance
Gerardo
Message was edited by: Marissa Rogers - Added Category
Gerardo, assuming you know the bounds in which you want to draw a polygon, you may write a script that executes on load, creates a Polygon object, and pushes that to map object.
1. Get Google map object from Pega AddressMap
2. Create a polygon object and add it to map (https://developers.google.com/maps/documentation/javascript/examples/polygon-simple)