The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Charles Bedrosian <char...@bedrosian.com>
Date: Tue, 8 May 2012 16:44:01 -0400
Local: Tues, May 8 2012 4:44 pm
Subject: Re: [Leaflet] first render works, second render is not centered
Can you share the static files?
Sent from my iPhone
On May 8, 2012, at 3:38 PM, "logicalcat" <logical...@gmail.com> wrote:
> Hello all, I have a mysterious problem where a simple map (just a single marker) renders fine the first time, but a second try on the same page (via ajax without page refresh) does not center the marker and fails to load some of the tiles. The point seems to be rendering in the NW corner just out of view.
> I have tried making the map and layer global and removing the layer between renders (e.g. map.removeLayer(cloudmade) ) and just deleting/re-adding the whole containing div. Makes no difference. > The exact setup is a bit complex but goes something like this:
> 1. page is rendered with a hidden modal dialog containing the map div (#leaflet_map)
> Thanks for any suggestions.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||