|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
[Bug 2056] New: cargar un solo layer en mapahttp://bugzilla.maptools.org/show_bug.cgi?id=2056
Summary: cargar un solo layer en mapa Product: ka-Map Version: 1.0 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: critical Priority: P2 Component: documentation AssignedTo: ka-map-dev@... ReportedBy: evenegas@... estoy ocupando ka explorer y necesito cargar un solo layer en el mapa sin pasar por el menu checkbox. tengo la siguiente funcion function load_Layer() { name='VERTICES'; bVisible='true'; layer=getLayer(name); layer.visible=true; setMapLayers(); aMaps[currentMap].setLayerVisibility( name, bVisible ); paintLayer(layer); } se que me falta 'this' pero no se que valor lleba, ademas la estoy llamando desde una consulta. -- Configure bugmail: http://bugzilla.maptools.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ ka-Map-dev mailing list ka-Map-dev@... http://lists.maptools.org/mailman/listinfo/ka-map-dev |
|
|
Re: [Bug 2056] New: cargar un solo layer en mapaHola.
No se cual exactamente es tu asunto, pero tengo algunas sugerencias... Primero, si no usas Firebug ya, lo recomendio sumamente. Yo no podria vivir sin Firebug, ya que es un debugger de javascript buenisimo. :) A primer vistazo, parece que tu codigo deberia funcionar, y no veo la necesidad de usar 'this'. Pero si quieres ver que valor lleva 'this', lo podras averiguar con Firebug. Yo adivino que el problema es en el valor de bVisible. Has puesto un string literal 'true', no el boleano true. Intenta quitar los quotes. Finalmente, sugiero que uses esta lista: ka-map-dev@... para preguntas de este tipo. No se cuantos hablamos espanol en esta lista, pero es mejor para buscar ayuda del codigo. Good luck! Sam BRIEF TRANSLATION - Try using Firebug. It's the greatest thing thats ever happened to javascript. :p I don't think you should be quoting true. It should be a boolean, not a string. Use this list, not bugzilla for this type of question. Sam On Wed, Jun 3, 2009 at 8:49 AM, <bugzilla-daemon@...> wrote: http://bugzilla.maptools.org/show_bug.cgi?id=2056 _______________________________________________ ka-Map-dev mailing list ka-Map-dev@... http://lists.maptools.org/mailman/listinfo/ka-map-dev |
| Free embeddable forum powered by Nabble | Forum Help |