I've placed a bunch of markers on a map of Europe on both sides of the prime meridian. However, when in satellite mode, only markers on one side of the meridian are displayed. When zoomed all the way out, it's clear that the other markers are being displayed, but are not being wrapped properly.
Has anyone else noticed this or figured out a way around it? I suspect it's a bug as it doesn't happen in map mode.
> I've placed a bunch of markers on a map of Europe on both sides of the
> prime meridian. However, when in satellite mode, only markers on one
> side of the meridian are displayed. When zoomed all the way out, it's
> clear that the other markers are being displayed, but are not being
> wrapped
> properly.
> Has anyone else noticed this or figured out a way around it? I suspect
> it's a bug as it doesn't happen in map mode.
This happens in map mode too but on the other side of the world. The map view is centered on the prime meridian but the satellite view is centered on 180 degrees latitude. I noticed this because i'm mapping earthquakes. In map mode not all the quakes between new zealand and fiji show up at the same time because they're on opposite sides of the 180 meridian.
I am not sure I understand this problem, as I have not seen a working
case, but are you using the "-" for west degrees, and + when needed for
the opposite side if the globe. It might help? Dont know if anyone has
tried it.
Also, dont switch the lat and long when calling it, if you put them in
opposite places, it puts the marker on the opposite side of the globe.
It seems that google maps likes the west coordinates first then the
northern coordinates. EX: -79.12345,39.12345
2. press the alaska tab to zoom in on quakes in the aleutian islands.
3. switch back and forth between satellite view and map view. In satellite view there are markers along the aleutian islands all the way to the kamchatcka peninsula in russia. In map mode, a bunch of markers on the left side of the map disappear. These are quakes to the west of the 180 degree meridian. If you drag the map a little bit to the right the markers to the east of the meridian disappear and the ones on the west side appear.
As I mentioned before, the edge of the map view was at 180 degrees latitude and at 0 degrees for the satellite view. If you're viewing a map containing an edge you'll only be able to view markers on one side or the other of the edge. The way to work around this was to switch to the other view where the singularity happened in a different place.
In the last day or two though, the satellite view was changed and now its edge is at 180 degrees latitude just like the map view. This is teriffic for people in the UK who can now view markers in all three views but now the pacific is permenantly broken with no workaround. I hope this isn't the fix that Bret promised earlier and that googlers are still working on a permenant solution.
2. note how all the markers are on the right half ot the map. One might be inclined to think that there were no quakes in asia this week. 3. drag the map a bit to the right. 4. notice how all the markers in the western hemisphere disappear and new ones magically appear in asia.
>but now the pacific is permenantly >broken with no workaround.
I thought of a workaround, but I'm not sure you'll like it: add each marker three times, at longitude x, x+360, and x-360. One additional trick you'll want to use is to have the left and right copies pop up their info boxes on the center copy; without that, the map does some auto-recentering-fu after popup events that can cause the info box to disappear.
You're right. I'm not terribly fond of that. I already have a lot of markers and I'm not excited about tripling that number. Also, I'd like to be able to zoom the map out all the way and seeing all the extra markers is pretty distracting. But its hard to argue with something that works. Maybe I'll see how hard it is to mask off the extra copies of the map so only the middle 360 degress displays at any one time.
If I'm going to all that trouble, maybe it would be easier to change the coordinate system of the map and move the anomaly back to the prime meridian. In my case, this would probably be fine since there aren't too many quakes around 0 degrees.