2
votes
1answer
109 views

How to apply weight to Google heatmap?

I am trying to plot a Google heatmap based on the JSON objects returned. Here is my JavaScript: function getHeatMap() { heatLayer = new HeatmapLayer({ config: { "useLocalMaximum": true, ...
1
vote
1answer
201 views

GeoJSON vector layer created using OpenLayers is broken

What i want to do here is to create a vector layer (using openlayers) from a GeoServer JSON Response. Actually i'm doing this: var url = ...
0
votes
1answer
1k views

Sample JSON code to get latitude and longitude values from Google API geolocation

I'm a fresher in JSON coding. I got a sample Google API geolocation console from https://developers.google.com/maps/documentation/business/geolocation/ site. {'cellTowers': [ { 'cellId': ...
13
votes
2answers
2k views

How can I fix my complex Polygons so they show correctly in Google Maps?

Problem: I'm trying to find a way to fix some broken polygon shapes and I'm not sure how I can do this. Details: I've got a number of polygons which I basically imported from TIGERLINES a while ...
4
votes
1answer
419 views

How to decode Google's proprietary latLon format for China?

This Google Maps link returns train stations in Shanghai, China. By appending '&output=js' it returns it in JSON format. I'm trying to decode the format Google uses for lat/lon: latlng:{ ...