Excellent.. thanks.

I'll have a route round that and get back to you if any problems :)

On 11 May, 15:44, "Marcelo - http://maps.forum.nu";
<[email protected]> wrote:
> On May 11, 3:17 pm, Graham <[email protected]> wrote:
>
> > Can't quite work out how that's done though :(  Are you using custom
> > tiles or similar there? Or could you give me some more pointers?
>
> Look athttp://maps.forum.nu//MInsetMapControl.js
> This is a custom control that contains another GMap2 object, which has
> no tiles.
>
> The polygon is originally plotted in the custom control and when you
> drag, you're actually dragging an entire invisible map which contains
> the polygon.
> When the center of the invisible map is (almost) equal to the center
> of the main map, the polygon is transferred from the invisible map to
> the main map.
>
> This is not a generic, plug'n'play solution, but it demonstrates a
> technique you can use to drag entire polygons.
> To make polygons generally draggable with this technique you'll need
> to transfer them back and forth between the two maps, and calculate
> the difference between the two maps centers when the drag movement
> ends.
>
> --
> Marcelo -http://maps.forum.nu
> --
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to