Class: directive_ directive:ngeoMobileGeolocation

ngeo.geolocation.mobile.directive_

new directive_()

Provide a "mobile geolocation" directive.

Example:

 <button ngeo-mobile-geolocation
   ngeo-mobile-geolocation-map="ctrl.map"
   ngeo-mobile-geolocation-options="ctrl.mobileGeolocationOptions">
 </button>

See our live example: ../examples/mobilegeolocation.html

HTML attributes:
Name Type Description
ngeo-mobile-geolocation-map ol.Map The map.
ngeo-mobile-geolocation-options ngeox.MobileGeolocationDirectiveOptions The options.
Returns:
angular.Directive

The Directive Definition Object.