Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

New Map Component: Setting the Center Longitude and Latitude in the Pre Execution

$
0
0
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?

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>