mNativeRect and nGlobalRect

fxrazno1fxrazno1 Global Mapper UserPosts: 33Trusted User
edited January 2011 in SDK
Hi
Can anybody expalne what is the difference between mNativeRect and nGlobalRect
in the layer info
Thanks
raz

Comments

  • OseiOsei Global Mapper User Posts: 119Trusted User
    edited January 2011
    Quite simple. Every layer has a native projection in which the data can be found in. The layer's extent (or rectangle that encompasses all data in the layer) in its native projection is the mNativeRect.
    Then if the layer is loaded, you can choose a global projection which I also call the display projection to clarify things. If the display projection is different from the native projection, then the layer will have new coordinates in the display projection. In that case, the extent encompassing all data in the display projection is the mGlobalRect.
Sign In or Register to comment.