Re: [Google Maps API v3] Load Heatmap LatLng Coordinates Google Maps API from MySQL database

2017-04-26 Thread Barry Hunter
> > > // This is the LatLng I meant, any possible way to load these from a > database? > > function getPoints() { > > return [ > > new google.maps.LatLng(40.761916,-73.9228569), > > new google.maps.LatLng(42.35047,-71.07613), > > new google.maps.LatLng(42

Re: [Google Maps API v3] Digest for google-maps-js-api-v3@googlegroups.com - 1 update in 1 topic

2017-04-26 Thread 'Rob Banfield' via Google Maps JavaScript API v3
I suspect the problem comes from your creating a XML document, and specifying headers for it after content has been created. Might I suggest you drop the XML stuff until the very end if you really need it, and instead fill an array with your results returned from SQL, then use the array to create y

[Google Maps API v3] Load Heatmap LatLng Coordinates Google Maps API from MySQL database

2017-04-26 Thread Ulil Albab Rabbani
I have project GIS. I want to create a hotspot crime mapping using Google Heatmap from Google Maps API. I have bunch of data of set crime location (including latitude and longitude) on MySQL database. I have read on Google Maps API Doc example: https://developers.google.com/maps/documentation