Adaptive googlemaps

Conditionally loads dynamic goolemaps or opens the map in a native mobile app / new tab after click on the static image.

<googlemaps options="map1"></googlemaps>

Options attributes

$scope.map1 = {
Required:
Optional:
};

Demo

mapevents: {{{redirect: false, loadmap: true} | json}}

Loads dynamic google map.

mapevents: {{{redirect: true, loadmap: false} | json}}

Opens google map in a new tab / a native mobile application.

Note: markers are not shown in Google Maps redirect.

mapevents: no mapevents

Nothing happens.

ToDo:

Credits:

Jan Antala