-
Notifications
You must be signed in to change notification settings - Fork 27
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
GroundOverlay alignment differs from Google Earth #22
Comments
Hi marct83, Have a nice day, |
I thought it might be something simple. I can provide more details. This is the kmz in google earth: This is the kmz in my leaflet app: You can see its shifted to right and up in the leaflet app. The shaded areas should be over top of the town names. I have included the file (.kmz) (I had to rename it to zip so it would upload). |
Given the extent of the mapped area I think there could be an excessive approximation performed by leaflet itself. To be clear, the following is pretty much all the code used to handle GroundOverlays: Lines 132 to 139 in 29057ad
Lines 97 to 117 in 29057ad
leaflet-kmz/src/KMZImageOverlay.js Lines 6 to 34 in 29057ad
I recommend that you use the Reference:
Raruto PS if it can help, you can also take a look at this library as well: https://github.com/ahalota/Leaflet.KMLGroundOverlay |
I have some KML and KMZ files that show different in google earth than in leaflet. The alignment is off on the leaflet map. Is there something I should check?
The text was updated successfully, but these errors were encountered: