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

pgiencke at glc.org pgiencke at glc.org
Fri Sep 23 17:29:36 EDT 2005


I hadn't yet tried running the function from initialize, but I tend to think
that should work better than where it sits currently. I'll have a chance to
test it out and report back next week; I'm in Minnesota for the weekend without
internet access (the horror).

-pete

Quoting Paul Spencer <pspencer at dmsolutions.ca>:

> 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/|
> +-----------------------------------------------------------------+
>
>
>
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>





More information about the ka-Map-users mailing list