Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-16 Thread Flipper
Happy to Hear that its fixed -- View this message in context: http://osgeo-org.1560.x6.nabble.com/The-map-display-width-cannot-be-less-than-or-equal-to-zero-tp5235957p5236665.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ m

Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-16 Thread Emma Schmidt
The problem was in my code. I create a map object with the Mapguide Api which saves it in a certain case. But this object contains no information about the size, so that I need a reload to get the size information   I’ve fixed it by now :-)   Thanks for helping ___

Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-13 Thread Emma Schmidt
It's probably my openlayers “zoomend” event. If I deactivate it, it seems to work fine. I'll check it ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-13 Thread Emma Schmidt
You right, the map has a time where the width and height is undefined.   But I can’t see the reason.   I had a look on the map image operation from the openlayers api. After the error occus I changed something (CLIENTAGENT, which is just not necessary) and the image was updated. After this upd

Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-13 Thread Hans Milling
I use the Maestro API, and I get this error if I create a runtime map with no width/height information. So I always set the width/height to 1024x768 when I create the RuntimeMap, and then later on I set the correct values. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/The

Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-12 Thread Jackie Ng
I think this is because while the map viewer is loading for the first time, the mouse pointer might have been idle enough in the viewport that that it sends a QUERYMAPFEATURES request for tooltip information. Since the map viewer is still loading, the map width and height is still undefined resulti

Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-12 Thread Flipper
I only get that message when I attempt to run certain FCGI or REST calls on a RuntimeMap in a session that has not had GETDYNAMICMAPOVERLAY run with these settings..Otherwise I have never seen the error. Are you accidently creating multiple sessions? -- View this message in context: http://osg

Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-12 Thread Emma Schmidt
Sorry, but I'am not sure what you mean. My map is created by the openlayers api. So the map image is created by the operation: GETDYNAMICMAPOVERLAYIMAGE. And the properties are all set. Do you mean this? The message does not come every time. The error would come every time if the width and heig

Re: [mapguide-users] The map display width cannot be less than or equal to zero

2015-11-12 Thread Scott Hameister
You will need to have requested the map image at least once in a current session and set scale and width and height before you can use many of the other FCGI/REST calls on that session. Is it possible you are firing this off before that when it happens On Thu, Nov 12, 2015 at 7:23 AM, Emma Schmidt

[mapguide-users] The map display width cannot be less than or equal to zero

2015-11-12 Thread Emma Schmidt
 Hey, what is the matter of this error "The map display width cannot be less than or equal to zero"? It's occurs sometimes when I do an OPERATION=QUERYMAPFEATURES. I can't see the reason because the same operation with the same attributes works fine a second before. There is no attribute called