android - OpenLayers.Popup.FramedCloud is not being shown while it's boundaries are obeyed -
i using
feature.popup = new openlayers.popup.framedcloud("pop", feature.geometry.getbounds().getcenterlonlat(), new openlayers.size(80,80), '<div style="overflow: auto;"><small><small><b>'+feature.attributes.description+'</b><br>tap anywhere close</small></small></div>', null, false, function() { controls['selector'].unselectall(); } );
to show framedcloud popup on map when user taps on icon on map.
this works on every desktop browser first time used android phone view it, popup did not show. content
<div style="overflow: auto;"><small><small><b>'+feature.attributes.description+'</b><br>tap anywhere close</small></small></div>
was shown floating "in air" no white background. within framedcloud popup's borders. seemed if graphics of framedcloud popup not being received else was.
what cause?
the background image that's relative openlayers.js file: img/cloud-popup-relative.png
i'm guessing you're putting webview. make sure have directory of images openlayers on device...
Comments
Post a Comment