You need to sign in to do that
Don't have an account?
Chris Ronnie
Advice on Google Maps Idea
I have an idea where I want to show the days sales in Google Maps.
I have an order object that tracks all sales. On this object I have a Lat and Long for the billing address.
I have experimented with a hard coded Google Maps HTML file, and have a working proof of concept. I am not sure how to turn this into a report/dashboard/apex/visualforce page and so I am seeking some advice.
What I think I want to do is:
1. Read long and lat from daily sales report
2. iterate over these values and populate an apex page
The values that need to be iterated over are
{location: new google.maps.LatLng(LATGOESHERE,LONGGOESHERE), weight: 10},
Does anyone have some advice or experience on this kind of work?
I have an order object that tracks all sales. On this object I have a Lat and Long for the billing address.
I have experimented with a hard coded Google Maps HTML file, and have a working proof of concept. I am not sure how to turn this into a report/dashboard/apex/visualforce page and so I am seeking some advice.
What I think I want to do is:
1. Read long and lat from daily sales report
2. iterate over these values and populate an apex page
The values that need to be iterated over are
{location: new google.maps.LatLng(LATGOESHERE,LONGGOESHERE), weight: 10},
Does anyone have some advice or experience on this kind of work?
1) Create a controller to query data with required filter criteria
2) Create vf page using map tags.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_mapInfoWindow.htm
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_mapMarker.htm