[ka-Map-users] Adding Multiple maps
Delfos, Jacob
Jacob.Delfos at maunsell.com
Wed Jul 19 03:43:25 EDT 2006
Hi Absar,
Please CC to the list, because that increases the chance of getting
help.
I am not sure why the layers would not change. Can you please check your
PHP log, and also see if any javascript errors occur. If you use Mozilla
Firefox, check the JavaScript Console, and see what it says. I don't
normally use multiple maps, but I assume this behaviour isn't normal.
Regards,
Jacob
> -----Original Message-----
> From: Absar Ali [mailto:absarz at hotmail.com]
> Sent: 19 July 2006 15:33
> To: Delfos, Jacob
> Subject: RE: [ka-Map-users] Adding Multiple maps
>
>
> Thnkx Delfos Jacob,
>
>
> its working no but when i change the map from one to other
> the layers panel
> is not refresging it displays the old map layer plz help me,
>
>
> Regards,
>
> Absar Ali.
>
> >From: "Delfos, Jacob" <Jacob.Delfos at maunsell.com>
> >To: "absar ali" <absarzaidi at yahoo.com>,
> <ka-map-users at lists.maptools.org>
> >Subject: RE: [ka-Map-users] Adding Multiple maps
> >Date: Wed, 19 Jul 2006 14:00:48 +0800
> >
> > >From what it looks like, you are re-defining $aszGMap. So once you
> >create 'Map2', your 'Map1' is lost. Also, you don't build the
> >$aszMapFiles array properly. Try this:
> >
> >$aszGMap1 = array (
> > 'title' => 'Map1',
> > 'path' => '../../Map1.map',
> > 'scales' => array( 40000000, 25000000, 12000000, 7500000, 3000000,
> >1000000 ),
> > );
> >$aszGMap2 = array (
> > 'title' => 'Map2',
> > 'path' => '../../Map2.map',
> > 'scales' => array( 40000000, 25000000, 12000000, 7500000, 3000000,
> >1000000 ),
> > );
> >
> > $aszMapFiles = array( 'Map1' => $aszGMap, 'Map2' => $aszGMap2);
> >
> >If you still have errors, let us know what they are.
> >
> >regards,
> >
> >Jacob
> >
> >
> >
> >________________________________
> >
> > From: ka-map-users-bounces at lists.maptools.org
> >[mailto:ka-map-users-bounces at lists.maptools.org] On Behalf
> Of absar ali
> > Sent: 19 July 2006 13:41
> > To: ka-map-users at lists.maptools.org
> > Subject: [ka-Map-users] Adding Multiple maps
> >
> >
> > How can i add two or more maps in the combo box, i use this but
> >gives errors.
> >
> > $aszGMap = array (
> > 'title' => 'Map1',
> > 'path' => '../../Map1.map',
> > 'scales' => array( 40000000, 25000000, 12000000, 7500000,
> >3000000, 1000000 ),
> > );
> > $aszGMap = array (
> > 'title' => 'Map2',
> > 'path' => '../../Map2.map',
> > 'scales' => array( 40000000, 25000000, 12000000, 7500000,
> >3000000, 1000000 ),
> > );
> > $aszMapFiles = array( 'Map1' => $aszGMap , Map2' => $aszGMap
> >);
> >
> >
> >________________________________
> >
> > Groups are talking. We're listening. Check out the handy changes
> >to Yahoo! Groups.
> ><http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=41144/*http:
> //groups.ya
> >hoo.com/local/newemail.html>
> >
>
>
> >_______________________________________________
> >ka-Map-users mailing list
> >ka-Map-users at lists.maptools.org
> >http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
>
More information about the ka-Map-users
mailing list