php-google-map-api icon indicating copy to clipboard operation
php-google-map-api copied to clipboard

Suggested change to map marker load failures.

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

I changed these two "die()" to "echo+return" instead, it provides a gracious 
failure that I can then respond to in other code.


die('GoogleMapAPI:createMarkerIcon: Error reading image: ' . $iconImage);
TO
echo ('GoogleMapAPI:createMarkerIcon: Error reading image: ' . $iconImage);   
return;

AND

die('GoogleMapAPI:createMarkerIcon: Error reading shadow image: ' . 
$iconShadowImage);

TO

echo ('GoogleMapAPI:createMarkerIcon: Error reading shadow image: ' . 
$iconShadowImage);
return; 



Original issue reported on code.google.com by [email protected] on 12 Aug 2014 at 6:33

GoogleCodeExporter avatar Mar 12 '15 19:03 GoogleCodeExporter