From peppelinux at yahoo.it Tue May 7 07:37:40 2013 From: peppelinux at yahoo.it (Giuseppe De Marco) Date: Tue, 7 May 2013 15:37:40 +0100 (BST) Subject: [MapQuery] differents mqLayerManager for the same ol map Message-ID: <1367937460.68049.YahooMailNeo@web171406.mail.ir2.yahoo.com> Is possible to have two different layer manager on the same map ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From volker.mische at gmail.com Wed May 8 02:45:35 2013 From: volker.mische at gmail.com (Volker Mische) Date: Wed, 08 May 2013 11:45:35 +0200 Subject: [MapQuery] differents mqLayerManager for the same ol map In-Reply-To: <1367937460.68049.YahooMailNeo@web171406.mail.ir2.yahoo.com> References: <1367937460.68049.YahooMailNeo@web171406.mail.ir2.yahoo.com> Message-ID: <518A1EBF.8040801@gmail.com> Hi Giuseppe, On 05/07/2013 04:37 PM, Giuseppe De Marco wrote: > Is possible to have two different layer manager on the same map ? I haven't tried it. I guess it should work, but you would need to make sure they stay in sync manually. Cheers, Volker From steven at minst.net Wed May 8 03:03:53 2013 From: steven at minst.net (Steven Ottens) Date: Wed, 8 May 2013 12:03:53 +0200 Subject: [MapQuery] differents mqLayerManager for the same ol map In-Reply-To: <518A1EBF.8040801@gmail.com> References: <1367937460.68049.YahooMailNeo@web171406.mail.ir2.yahoo.com> <518A1EBF.8040801@gmail.com> Message-ID: Hi Giuseppe, I originally designed the layer manager to work with multiple instances. That was an easy way to check if the events were properly handled. Though with the change in event-handling it might be a bit buggy ATM. Steven On May 8, 2013, at 11:45 AM, Volker Mische wrote: > Hi Giuseppe, > > On 05/07/2013 04:37 PM, Giuseppe De Marco wrote: >> Is possible to have two different layer manager on the same map ? > > I haven't tried it. I guess it should work, but you would need to make > sure they stay in sync manually. > > Cheers, > Volker > _______________________________________________ > MapQuery mailing list > MapQuery at lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapquery From peppelinux at yahoo.it Wed May 8 03:15:33 2013 From: peppelinux at yahoo.it (Giuseppe De Marco) Date: Wed, 8 May 2013 11:15:33 +0100 (BST) Subject: [MapQuery] differents mqLayerManager for the same ol map In-Reply-To: References: <1367937460.68049.YahooMailNeo@web171406.mail.ir2.yahoo.com> <518A1EBF.8040801@gmail.com> Message-ID: <1368008133.12128.YahooMailNeo@web171404.mail.ir2.yahoo.com> > I originally designed the layer manager to work with multiple instances. That was an easy way to check if the events were properly handled. Though with the change in event-handling it might be a bit buggy ATM. thank you Steven, after spending some times playin with different instances that uses the same olmap obj (the same viewport) mapq = $('#map').mapQuery({ layers:[]}); mq = mapq.data('mapQuery'); mq.olMap = map; ? ?? I decided to develop from scratch with jQuery portlets but If will be some suggestion on this I'll appreciate a lot ! -------------- next part -------------- An HTML attachment was scrubbed... URL: