did you have a look at<br><br><a href="http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/OpenlayersExample">http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/OpenlayersExample</a><br><br>i'm pretty sure that problem was resolved in 2.1<br>
<br>?<br><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 1:39 PM, A H <span dir="ltr"><<a href="mailto:hizperion@hotmail.com">hizperion@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
my system have a problem with 2.0 versions regarding the feature still being<br>
locked after its updated i think (i forgot the details, but i will try<br>
upgrading it soon), and i'm trying to save hassle installing/uninstalling<br>
beta version in the production servers (didn't know that it will take this<br>
long for 2.1).<br>
<br>
<br>
could you help me with OpenLayers definition to add more layers in?<br>
<br>
this is a piece of the OL function<br>
<br>
function initTiled(){<br>
<br>
var extent = new<br>
OpenLayers.Bounds(85.000000,-11.000000,130.000000,19.000000);<br>
var tempScales =<br>
[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];<br>
var mapOptions = {<br>
maxExtent: extent,<br>
scales: tempScales,<br>
controls: [<br>
new OpenLayers.Control.Navigation(),<br>
new OpenLayers.Control.PanZoomBar(),<br>
new OpenLayers.Control.Permalink(),<br>
new OpenLayers.Control.ScaleLine(),<br>
new OpenLayers.Control.Permalink('permalink'),<br>
new OpenLayers.Control.MousePosition(),<br>
new OpenLayers.Control.OverviewMap()<br>
]<br>
};<br>
map = new OpenLayers.Map( 'mapT', mapOptions );<br>
<br>
var params = {<br>
mapdefinition:<br>
'Library://World/Maps/worldmap_tiled.MapDefinition',<br>
basemaplayergroupname: "Base Layer Group"<br>
}<br>
var options = {<br>
singleTile: false<br>
}<br>
var layer = new OpenLayers.Layer.MapGuide( "MapGuide OS tiled<br>
layer", url, params, options );<br>
map.addLayer(layer);<br>
}<br>
<br>
thank you for your reply.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
zspitzer wrote:<br>
><br>
> well, 1.2 is pretty old, can you try this out the 2.0.2 release or the<br>
> unoffical 2.1 beta?<br>
><br>
> if it's been resolved in subsequent versions, it's very unlikely to be<br>
> backported<br>
><br>
> ith regards to OL, you would just have two layers to the map?<br>
><br>
> On Wed, Oct 28, 2009 at 1:05 PM, A H <<a href="mailto:hizperion@hotmail.com">hizperion@hotmail.com</a>> wrote:<br>
><br>
>><br>
>> i'm using MGOS 1.2 and MapGuide Studio 2008. i wanted to define a tiled<br>
>> map<br>
>> using Studio. i have several layers, some of them are area layers, and<br>
>> some<br>
>> are point layers.<br>
>><br>
>> the problem is the symbols in this point layers doesn't appear on the map<br>
>> when i set it as Base layers to make a tiled map. only labels are<br>
>> displayed.<br>
>> i think this is a limitation, but is there any way to get around it?<br>
>><br>
>> it could work if i use the Ajax viewer if i have both normal layers and<br>
>> base<br>
>> layers, but i'm trying to use this map in OpenLayers. if i set the layers<br>
>> with symbols as normal layers (not as base layers), i don't know how to<br>
>> define it in OpenLayers.<br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://n2.nabble.com/symbols-in-tiled-maps-tp3903114p3903114.html" target="_blank">http://n2.nabble.com/symbols-in-tiled-maps-tp3903114p3903114.html</a><br>
>> Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
>> _______________________________________________<br>
>> mapguide-users mailing list<br>
>> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Zac Spitzer -<br>
> <a href="http://zacster.blogspot.com" target="_blank">http://zacster.blogspot.com</a><br>
> +61 405 847 168<br>
><br>
> _______________________________________________<br>
> mapguide-users mailing list<br>
> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
><br>
><br>
<br>
--<br>
</div></div>View this message in context: <a href="http://n2.nabble.com/symbols-in-tiled-maps-tp3903114p3903225.html" target="_blank">http://n2.nabble.com/symbols-in-tiled-maps-tp3903114p3903225.html</a><br>
<div><div></div><div class="h5">Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer -<br><a href="http://zacster.blogspot.com">http://zacster.blogspot.com</a><br>+61 405 847 168<br>