function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Chris RonnieChris 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?
venkat-Dvenkat-D
You can create a new visual force page with below tags. You can use info from billing address.
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