Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

Suggested change to map marker load failures. #96

Description

@GoogleCodeExporter
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 anderson...@gmail.com on 12 Aug 2014 at 6:33

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions