[mapguide-users] symbols in tiled maps
Zac Spitzer
zac.spitzer at gmail.com
Tue Oct 27 23:11:21 EDT 2009
did you have a look at
http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/OpenlayersExample
i'm pretty sure that problem was resolved in 2.1
?
On Wed, Oct 28, 2009 at 1:39 PM, A H <hizperion at hotmail.com> wrote:
>
> my system have a problem with 2.0 versions regarding the feature still
> being
> locked after its updated i think (i forgot the details, but i will try
> upgrading it soon), and i'm trying to save hassle installing/uninstalling
> beta version in the production servers (didn't know that it will take this
> long for 2.1).
>
>
> could you help me with OpenLayers definition to add more layers in?
>
> this is a piece of the OL function
>
> function initTiled(){
>
> var extent = new
> OpenLayers.Bounds(85.000000,-11.000000,130.000000,19.000000);
> var tempScales =
>
> [500,994.13360,1976.60324,3930.01542,7813.92080,15536.16253,30890.04252,61417.65868,122114.71687,242796.68742,482744.69230,959825.44253,1908389.45481,3794388.17705,7544257.59473,15000000];
> var mapOptions = {
> maxExtent: extent,
> scales: tempScales,
> controls: [
> new OpenLayers.Control.Navigation(),
> new OpenLayers.Control.PanZoomBar(),
> new OpenLayers.Control.Permalink(),
> new OpenLayers.Control.ScaleLine(),
> new OpenLayers.Control.Permalink('permalink'),
> new OpenLayers.Control.MousePosition(),
> new OpenLayers.Control.OverviewMap()
> ]
> };
> map = new OpenLayers.Map( 'mapT', mapOptions );
>
> var params = {
> mapdefinition:
> 'Library://World/Maps/worldmap_tiled.MapDefinition',
> basemaplayergroupname: "Base Layer Group"
> }
> var options = {
> singleTile: false
> }
> var layer = new OpenLayers.Layer.MapGuide( "MapGuide OS tiled
> layer", url, params, options );
> map.addLayer(layer);
> }
>
> thank you for your reply.
>
>
>
>
> zspitzer wrote:
> >
> > well, 1.2 is pretty old, can you try this out the 2.0.2 release or the
> > unoffical 2.1 beta?
> >
> > if it's been resolved in subsequent versions, it's very unlikely to be
> > backported
> >
> > ith regards to OL, you would just have two layers to the map?
> >
> > On Wed, Oct 28, 2009 at 1:05 PM, A H <hizperion at hotmail.com> wrote:
> >
> >>
> >> i'm using MGOS 1.2 and MapGuide Studio 2008. i wanted to define a tiled
> >> map
> >> using Studio. i have several layers, some of them are area layers, and
> >> some
> >> are point layers.
> >>
> >> the problem is the symbols in this point layers doesn't appear on the
> map
> >> when i set it as Base layers to make a tiled map. only labels are
> >> displayed.
> >> i think this is a limitation, but is there any way to get around it?
> >>
> >> it could work if i use the Ajax viewer if i have both normal layers and
> >> base
> >> layers, but i'm trying to use this map in OpenLayers. if i set the
> layers
> >> with symbols as normal layers (not as base layers), i don't know how to
> >> define it in OpenLayers.
> >> --
> >> View this message in context:
> >> http://n2.nabble.com/symbols-in-tiled-maps-tp3903114p3903114.html
> >> Sent from the MapGuide Users mailing list archive at Nabble.com.
> >> _______________________________________________
> >> mapguide-users mailing list
> >> mapguide-users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> >>
> >
> >
> >
> > --
> > Zac Spitzer -
> > http://zacster.blogspot.com
> > +61 405 847 168
> >
> > _______________________________________________
> > mapguide-users mailing list
> > mapguide-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/symbols-in-tiled-maps-tp3903114p3903225.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
--
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20091028/a5bbdcd2/attachment.html
More information about the mapguide-users
mailing list