[Geo-inquietos Madrid] Pregunta sobre OpenLayers + Ajax
Jorge de Jesus
jmdj at pml.ac.uk
Thu Jul 7 10:49:33 EDT 2011
Hola
No lo se como te arreglas con el AJAX pero en jQuery
http://docs.jquery.com/Ajax_Events
tienes una API muy completa y com bastantes "events" que te podran
ayudar a controlar el mapa de openlayers
Saludos.
Jorge
On 07/07/11 15:24, Jorge Arévalo wrote:
> Buenas,
>
> Eso mismo iba a probar ahora. Muchas gracias.
>
> Saludos,
> Jorge
>
> On Thu, Jul 7, 2011 at 4:09 PM, Jorge de Jesus <jmdj at pml.ac.uk> wrote:
>> Hola
>>
>> No lo se, pero has intentanto que el callback del pedido de Ajax llame
>> una funcion que active y muestre el map ?!
>>
>> Jorge
>>
>> On 07/07/11 15:03, Jorge Arévalo wrote:
>>> Buenas,
>>>
>>> Necesito poder mostrar y ocultar una capa (div) que contiene un mapa
>>> de OpenLayers. Tengo una aplicación web con 3 pestañas. Una de ellas
>>> muestra un mapa, y en las otras 2 hay otro contenido. El contenido de
>>> las pestañas se carga con Ajax, pero al pinchar en la pestaña que
>>> contiene el div del mapa se queda en blanco. La cosa funciona si la
>>> pestaña del mapa contiene un enlace para recargar la página, en lugar
>>> de una llamada a ajax, pero no quiero que se recargue la página otra
>>> vez, por eso uso ajax.
>>>
>>> ¿Hay alguna manera de hacer esto? En realidad la pregunta se puede
>>> resumir en: ¿cómo mostrar/ocultar un mapa de OpenLayers con Ajax?
>>>
>>> Muchas gracias por anticipado, un saludo
>>>
>>
>> --------------------------------------------------------------------------------
>> Plymouth Marine Laboratory
>>
>> Registered Office:
>> Prospect Place
>> The Hoe
>> Plymouth PL1 3DH
>>
>> Website: www.pml.ac.uk
>> Click here for PML Annual Review 2010
>> Registered Charity No. 1091222
>> PML is a company limited by guarantee
>> registered in England & Wales
>> company number 4178503
>>
>> Please think before you print
>>
>> --------------------------------------------------------------------------------
>> This e-mail, its content and any file attachments are confidential.
>>
>> If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail forinfo at pml.ac.uk and then delete the email without making any copies or using it in any other way.
>>
>> The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.
>>
>> You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.
>> --------------------------------------------------------------------------------
>> _______________________________________________
>> Madrid mailing list
>> Madrid at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/madrid
>>
>
>
--------------------------------------------------------------------------------
Plymouth Marine Laboratory
Registered Office:
Prospect Place
The Hoe
Plymouth PL1 3DH
Website: www.pml.ac.uk
Click here for PML Annual Review 2010
Registered Charity No. 1091222
PML is a company limited by guarantee
registered in England & Wales
company number 4178503
Please think before you print
--------------------------------------------------------------------------------
This e-mail, its content and any file attachments are confidential.
If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail forinfo at pml.ac.uk and then delete the email without making any copies or using it in any other way.
The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated.
You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses.
--------------------------------------------------------------------------------
More information about the Madrid
mailing list