Angular directive

map-data source

Description

set map data Requires: map directive Restrict To: Element

Parameters

NameTypeDescription
Attr2MapOptions service

convert html attribute to Google map api options

Example

Example:
 <map zoom="11" center="[41.875696,-87.624207]">
   <map-data load-geo-json="https://storage.googleapis.com/maps-devrel/google.json"></map-data>
  </map>