ushahidi/Ushahidi_Web — Issue #231: KML/KMZ network links not displaying
Author: aoduor
Created: 2012-02-16 17:51:54+00:00
State: open
Labels: Bug, P3 - High

"Ushahidi's back end allows you to upload KML layers, either as network links, or as direct uploads. However, the Irene group is having lot's of problems with this feature. The intent is to add the layers from Google's Crisis Response site (http://crisislanding.appspot.com/) to the ushahidi site (http://irenerecoverymap.com/). I have attempted to load the layers to the Ushahidi site, both as network links, and as direct uploads. Most of the layers would not show up at all. My guess is that Ushahidi is not able to map certain types of KML layers. The layers load fine on Google Earth as network links and on some test code I put together using Google Maps API (http://gis.ats.ucla.edu/irene/). Any insight is greatly appreciated." - Yoh

Comments from Emmanuel Kala - "The specific KML you're trying to add is using a refresh link - contained in the NetworkLink element. The failure to load occurs because the refresh target is on a remote domain and browser restrictions - Access-Control-Allow-Origin, prevent cross domain Ajax calls. The platform uses OpenLayers for all the map rendering + overlays and we are investigating whether OpenLayers addresses this issue. Also, if you have a patch/workaround for the same, you may attach it to this ticket."