Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SaveKML bounding box issue #15

Open
rniemo opened this issue Nov 18, 2013 · 0 comments
Open

SaveKML bounding box issue #15

rniemo opened this issue Nov 18, 2013 · 0 comments

Comments

@rniemo
Copy link

rniemo commented Nov 18, 2013

SaveKML incorrectly computes the east/west boundaries from the data set when no area is specified when calling heatmap().

To reproduce, create any dataset with a wide range of longitude points (like -160 to 160) and create the KML file without specifying any area in the heatmap() function. When displaying the set in google maps with a kml overlay, the heatmap should display from west = -160 to east = 160. Instead, the heatmap displays from west = 160 to east = -160, which is a very narrow part of the map.

The KML file does correctly display in google earth as intended. However, to make the KML file also useable in Google Maps, west should be set as minX and east should be set as maxX. Switching these values does not break the display of the KML in Google Earth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant