Discussion:
[mapguide-users] Fusion template setExtents Problem
makoychan
2017-04-04 18:27:48 UTC
Permalink
Hi,

I am having a problem when i am setting extents using mapWidget.setExtents.

Nothing is happening on the map if i call that function and keyed in the
minx,miny,maxx,maxy

but if i set the initialextents and max extents with the same value of minx,
miny, maxx, maxy , maps is loaded properply. But the click selection of
layer object messes up.

Anyone can help here? pls.. im reaching on my dead end on this.

THanks

MC



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-template-setExtents-Problem-tp5315720.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
RenoSun
2017-04-04 20:12:44 UTC
Permalink
Hi MC,

I would like to see more specific codes from you to see how you code your
fusionSF.js or index.html.

I don't understand what are you trying to accomplish by using setExtents
for? To zoom to the selected features? or just specific areas that the user
always zoom to frequently?

Then, I or others might be able to provide some solutions for you...

Reno






--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Fusion-template-setExtents-Problem-tp5315720p5315736.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

Loading...