[ka-Map-users] RE: Ka-Map Spatial Bookmark / Link to View

Paul Spencer pspencer at dmsolutions.ca
Fri Sep 23 17:04:39 EDT 2005


you can also pass the extents to myKaMap.initialize() ... I think you  
pass them as:

myKaMap.initialize( null, extents );

null is there to avoid having to pass a map name

extents is expected to be a comma-separated string I believe

Cheers

Paul

On 23-Sep-05, at 9:39 AM, Joe Franklin wrote:

> I don't think you can run myKaMap.zoomToExtents in the
> myOnLoad function since the map hasn't been
> initialized yet.  Have you tried running your code in
> myMapInitialized() or myInitialized() instead?
>
> Peter Giencke wrote:
>
>> All,
>>
>> I'm working on a spatial bookmark/'link to view'
>>
> function (similar to what
>
>> google is doing) so that a user can follow a link to
>>
> get to a 'saved' extent
>
>> with certain layers enabled/disabled
>>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list