As I query the database for the set of Longitude and Latitude coordinates to display the markers, I'd like to set one of these as the center of the map.
I figure I can do this by writing a function in the pre-Execution hook.
My question is how do I refer to the NewMapComponent in a function?
And are there centerLongitude and centerLatitude properties I can set the values into?
I figure I can do this by writing a function in the pre-Execution hook.
My question is how do I refer to the NewMapComponent in a function?
And are there centerLongitude and centerLatitude properties I can set the values into?