[OpenLayers-Users] maxExtent problem

Armin Nesiren nesiren at gmail.com
Thu Jul 26 10:16:43 EDT 2007


Bart van den Eijnden (OSGIS) wrote:
> Can you describe how you applied the patch and what the patch command output
> was?
>
> http://trac.openlayers.org/attachment/ticket/340/map_maxextent.patch?format=raw
>
> Your app does not work at all, do you get javascript errors? Can you
> describe more exactly what the problem is after applying the patch?
>
> On what version of OL did you apply the patch? 2.4?
>
>
>   
Here is otput of patch:

../OpenLayers # patch < map_maxextent.patch
patching file Map.js
Hunk #1 succeeded at 813 with fuzz 2 (offset -1 lines).

Problem is, as I said before, that I can get out of maxExtent when dragging.
After patching, it seem that app work fine when I avoid all error 
message and complete zoom in, but when
come to some 'border' between maxExtent app stop working and i have alot 
of errors.

Javascript error that I get after patch evry time when I'm try to drag is

lonLat has no properties:
MousePosition.js 87: lonLat.lon.toFixed(digits)

in news.txt first line is "OpenLayers 2.0 Release Notes" is that meen 
that version of OL is 2.0? :)



More information about the Users mailing list