Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Referencing a specific map

OK I added a getID method.  It returns the Map's resource URI.

Jesse

Jesse Eichar wrote:

I'll have to make you one.  Hold on a sec.

Jesse

Cole Markham wrote:

Is there some way to get a reference to a specific map that will not
change when the map is closed? Here is the exact situation:
1. Call PlatformGIS.getActiveMap()
2. store that reference with my bookmark
3. The user closes the map (and possibly the entire application, but
I'm not there yet)
... some other actions by the user ...
4. The user reopens the map (from the project explorer)
5. Now a call to PlatformGIS.getActiveMap() returns a different Map object

What I need is some way to reference the map that is persistent. I am
thinking a unique ID or something that could be assigned to the map
when it is created. As far as I can tell there is nothing like this
that currently exists.

Thanks,
Cole
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel




Back to the top