Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/03/2010, 19:50
Avatar de Nemutagk
Nemutagk
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: México
Mensajes: 2.633
Antigüedad: 20 años
Puntos: 406
Respuesta: Leer estructura JSON (GeoJSON 1.0)

Oh si, lo carge con $.getJSON de JQuery...

Código Javascript:
Ver original
  1. var url = 'url_del_archivo';
  2. $.getJSON(url,function(data) {
  3.        alert(data.features.geometry.coordinates);
  4. });

pero me marcaba "undefined"o, y como me "urgia" lo solucione de otra forma, con PHP y la funcion file_get_contents() y json_decode() =/, de todas maneras muchas gracias ^^
__________________
Listo?, tendría que tener 60 puntos menos de IQ para considerarme listo!!!
-- Sheldon Cooper
http://twitter.com/nemutagk
PD: No contestaré temas vía mensaje personal =)