Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Map API question

Hinkley Baldwin
Registered User
Join date: 13 May 2004
Posts: 77
12-20-2005 10:37
Hi all,

Anyone using the Map API? I've got mine up and running, but I can't seem to set the closeOnMove property when creating a MapWindow object. I've got this:


CODE
var options = new WindowOptions( {closeOnMove: 1,height: 250});
var mapWindow = new MapWindow("My location",options);


It sets the height correctly, but not the closeOnMove property.

Any ideas?

Thanks in advance.
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
12-26-2005 16:07
While I'm not a whiz when it comes to the Map API, I'm going to bump this because, again, it seems to be unanswered.

I also just put in a feature request because questions of this nature are genuinely different from ones for LSL and are quickly buried exactly for that reason.
_____________________
---
X15 Codesmith
Second Life Resident
Join date: 10 Nov 2004
Posts: 2
12-26-2005 18:58
Try "closeOnMove: true" instead of "closeOnMove: 1".
Hinkley Baldwin
Registered User
Join date: 13 May 2004
Posts: 77
12-27-2005 02:46
Yeah, should have mentioned I tried that too, didn't seem to work either.

I've used an alternative now, setting "onlyOneOpen: true" which cuts down on map clutter, but I'd still like them to close when the map moves.