On Oct 3, 9:19 am, Rollercoaster <[email protected]> wrote:
> Hello everyone,
>
> First of, thanks for reading and sorry if there is tooo much or to
> little information here.

Too little information.  Please provide a link to your map that
exhibits the problem as requested in the posting guidelines:


http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines

  -- Larry

>
> I am using the following utilities in my maps app (ASP.NET 3.5)
> *http://gmaps-utility-library-dev.googlecode.com/svn/tags/labeledmarker/
> *http://gmaps-utility-library-dev.googlecode.com/svn/tags/markermanager/
>
> Since MarkerManager does not support polygons, I have, after
> searching, used the following code to make it work with polygons.
>
> GPolygon.prototype.getPoint = function() {
>     if (!this.Centre) this.Centre = this.getBounds().getCenter();
>     return this.Centre;
>
> };
>
> Polygon type: UK postcode boundary, around 25 at a time with an
> average of 100 points plus a LabeledMarker for each of them.
>
> Leaving aside the inaccuracy based on using polygon's center point, I
> have a couple of problems.
>
> 1. MarkerManager Problem: Polygons disappearing when using the map's
> zoom controls -
>
> Description - After a user action the polygons are plotted
> successfully. If the user either zooms in or zooms out one step then
> most of the time the polygons disappear. the LabeledMarker stay.
>
> Observations:
>
> >Does not happen all the time
> >If the user zooms in or out another level the polygons reappear. They seem 
> >to disappear/appear with each zoom step.
> >If they are currently disappeared and the user pans the map away from them 
> >and then pans back from a sufficient distance, they reappear and work 
> >properly
> >I show a small infowindow on polygon click. it still works when the polygons 
> >are invisible. I.e they behave as if they where there
>
> 2  LabeledMarker Problem: The markers seem to duplicate sometimes when
> zooming in/out and stay fixed in the map window. i.e not moving when
> we zoom in/out but they move with the map if we pan it. The copies are
> not clickable but the one that is at the original position keeps
> working ok.
>
> I think :
>
> >Using firebug I have tried to step thru the execution. it Appears that 
> >marker manager removes all markers(inc polygons,LabeledMarkers) when zoom is 
> >changed and then adds them again. The adding part seems to fall right when 
> >the map is performing the zoom operation and seems to mess up displaying of 
> >the polys/labels
>
> I dont have a live version running at present and am unable to show
> the site to you. But I think the problem lies with using GPolygon and
> LabeledMarker with MarkerManager
>
> Thank you for you time. Please help if you can.
--~--~---------~--~----~------------~-------~--~----~
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