tombatossals / angular-leaflet-directive

AngularJS directive to embed an interact with maps managed by Leaflet library
http://tombatossals.github.io/angular-leaflet-directive
MIT License
1.5k stars 635 forks source link

leaflet confilcts with google maps #1163

Closed anyayunli closed 7 years ago

anyayunli commented 7 years ago
<google-map control="map.control" center="map.center" zoom="map.zoom">
      <marker coords="marker.center"></marker>
</google-map>

if you install angular-leaflet-directive and any other libararies which has the center syntax, write the above codes anywhere you will get the conflicts. angular.js:12477 Error: [$compile:ctreq] Controller 'leaflet', required by directive 'center', can't be found!