Hi Evan-
When that issue is fixed, I'll mark that issue as "Fixed" (or
"FixedNotReleased", which would indicate the fix was in the next
release). Just click the star on the issue to be notified when the
status changes. We don't have a timeline for the fix, particularly
since I reported it during the holidays. :)
It probably is messing up the getBoundsZoomLevel as well. I was
calculating the span from the bounds, and getting spans of -340, for
example. So I put in some logic to the santa map to just invert the
span - perhaps you can do something similar.:
if(lngSpan < - 100) {
lngSpan = 360 + lngSpan;
}
- pamela
On Thu, Dec 25, 2008 at 4:46 AM, EvanR <[email protected]> wrote:
>
> Hi Pamela,
>
> That Santa map example is exactly the problem I'm seeing with polygons
> that straddle the date line wrapping around the world. I assume this
> is connected to the issue with the disappearing polygons on opposite
> sides of the dateline. When do you expect this might be fixed?
>
> I also suspect this might be causing a problem with the
> map.getBoundsZoomLevel function, though I have more testing of my own
> to confirm that.
>
> Thanks!
>
> Aloha,
> Evan
>
>
>
>
> On Dec 23, 7:58 pm, "pamela (Google Employee)" <[email protected]>
> wrote:
>> Hi EvanR-
>> I ran into a similar issue with polygons crossing the dateline in a recent
>> map. Please look at the following issue and see if it coincides with what
>> you experienced.
>> Thanks!http://code.google.com/p/gmaps-api-issues/issues/detail?id=949
>>
>> - pamela
>>
>> On Thu, Dec 18, 2008 at 1:37 PM, EvanR <[email protected]> wrote:
>>
>> > A third problem I'm experiencing is that when a user clicks a marker
>> > on the opposite side of the international date line from the center of
>> > the map, the map pans all the way across the world to show the info
>> > window.
>>
>> > On Dec 17, 12:21 pm, EvanR <[email protected]> wrote:
>> > > I'm having trouble surrounding the International Date Line. I've seen
>> > > two issues that don't seem to be fixed by the suggestions in topics
>> > > like SF to Sydney.
>>
>> > > Here's the first problem...
>>
>> > > 1) I created Polygon A in the eastern Pacific Ocean.
>> > > 2) I created Polygon B in the western Pacific Ocean.
>> > > 3) At any zoom level other than the furthest zoomed out, it will only
>> > > show the polygon that resides in the hemisphere that corresponds to
>> > > the center of the map. The other polygon shows up if you pan the map
>> > > to where it duplicates / wraps.
>>
>> > > The second problem is closely related...
>>
>> > > 1) I created Polygon C as a big ellipse in the central Pacific Ocean
>> > > such that it straddles the dateline.
>> > > 2) The part of the shape in the eastern Pacific Ocean is drawn
>> > > properly, but the part that is west of the date line shows up on the
>> > > other side of the map, creating a big distorted, broken shape.
>>
>> > > It is critical for my application that objects be able to stretch
>> > > across the dateline without being broken apart into sub-objects.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---