Skip to content

dennisg/angular-google-maps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-google-maps

AngularJS directives for the Google Maps Javascript API

added a map-type-id attribute to allow for changing the mapTypeId

    <div class="google-map" 
        center="centerProperty"
        map-type-id="typeProperty"
        zoom="zoomProperty" 
        markers="markersProperty"
        mark-click="false"
        draggable="true"
        fit="true"
        style="height: 400px; width: 100%">
    </div>

scope:

angular.extend($scope, {
...
    typeProperty : google.maps.MapTypeId.TERRAIN,
...
});

About

AngularJS directives for the Google Maps Javascript API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%