MI MapX geosets collection

2000-02-17 Thread Hamish George

Hello all,
I'm trying to produce a MapXtreme  mapping application that will let users
save and restore map information as geosets to a file location.
Unfortunately it appears that unless the geoset file is located in the the
same directory as the dictionary then a geoset loaded using the
GetMapGeoset() function does not appear in the geosets collection,( even
though using the SetMapGeoSet ASP function using a file name not to the data
dictionary directory does appear to add it to the collection)
My question is is there any way to make sure the the current geoset is in
the geosets collection (I'm currently using saving the geoset straight after
loading to force it through, but I would rather not have to overwrite it
unless absolute necessary. (documentation doesn't show a Map.geosets.add
method as I would have hoped.)

Any help/direction gratefully received.

Hamish


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



FW: MI MapX geosets collection

2000-02-17 Thread Hamish George

Hello All,
Further to below, I think maybe I should explain why...  I'm trying to
embed the full path name of the geoset currently in use within hidden form
variables on the page. I'd like to do this by accessing the PathName
property of the geoset  ie

session(SESN_MAPPER).GEOSETS(session(SESN_MAPPER).geoset).PathName

But if the geoset is not in the data dictionary directory when loaded it
doesn't appear in the geosets collection.
May be if somebody could point me to an alternative way of retrieving the
geoset path or a reference to the the current geoset object..
(map always starts with a geoset - session(SESN_MAPPER).GEOSET should always
have a value)

Thanks

Hamish


-Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Hamish George
Sent:   17 February 2000 12:24
To: [EMAIL PROTECTED]
Subject:MI MapX geosets collection

Hello all,
I'm trying to produce a MapXtreme  mapping application that will let users
save and restore map information as geosets to a file location.
Unfortunately it appears that unless the geoset file is located in the the
same directory as the dictionary then a geoset loaded using the
GetMapGeoset() function does not appear in the geosets collection,( even
though using the SetMapGeoSet ASP function using a file name not to the data
dictionary directory does appear to add it to the collection)
My question is is there any way to make sure the the current geoset is in
the geosets collection (I'm currently using saving the geoset straight after
loading to force it through, but I would rather not have to overwrite it
unless absolute necessary. (documentation doesn't show a Map.geosets.add
method as I would have hoped.)
Any help/direction gratefully received.
Hamish

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]