[mapguide-users] Java API MgRaster

2016-01-28 Thread vd2
Hi,
I try to renew parts of tile caches, based on thousends of raster files.
To find the tiles i need the bounds of the origign raster files.
But the MgRaster.GetBounds() always returns null.
The MgRaster.GetImageXSize() and MgRaster.GetImageYSize() are working, so I
could get it by reading the tfw, pgw etc. but this is not my favorite way.
My question: Is there another way to get the bounds or the insertation point
via API.

Thanks vd




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Java-API-MgRaster-tp5247725.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide 3.0 Maestro and Studio problem

2016-01-28 Thread Kajar
But can anybody  help me with legend icons, why those icons remains always
blue ones and not as actual layer is  defined. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-3-0-Maestro-and-Studio-problem-tp5242079p5247759.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Mapguide & Openlayers 3.12.1 Displaydpi for mobile/tablet devices

2016-01-28 Thread Greg
I found that using pixelRatio: 1 in the map definition and keeping
displayDpi: 96 in the layer definition works better:

map = new ol.Map({
layers: [bingRoad, bingAerialWithLabels, mgLayer, selLayer],
controls: controls,
pixelRatio: 1,
interactions: interactions,
target: 'map',
view: view1
});

Greg



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapguide-Openlayers-3-12-1-Displaydpi-for-mobile-tablet-devices-tp5247003p5247904.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

[mapguide-users] useTiltImages (Google Maps API)

2016-01-28 Thread pcardinal
MGOS 2.5 under Server 2012 with IIS

Is it possible to have the "useTiltImages" set to "false" ?


/**
 * APIProperty: useTiltImages
 * {Boolean} Should Google use 45° (tilt) imagery when available or
 * should it stick to the 0° overhead view? While tilt images look
 * impressive, the changed viewing angle can cause the misalignment
 * of overlay layers.
 */



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/useTiltImages-Google-Maps-API-tp5247907.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] useTiltImages (Google Maps API)

2016-01-28 Thread pcardinal
The solution is to change the fusionSF.js file

add the lines 

enableTilt: false,

and 

if (!this.enableTilt) mapObject.setTilt(0);


at the right places.


 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/useTiltImages-Google-Maps-API-tp5247907p5247910.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users