Class: desktopGeolocationDirective directive:ngeoDesktopGeolocation

ngeo.desktopGeolocationDirective

new desktopGeolocationDirective()

Provide a "desktop geolocation" directive.

Example:

 <button ngeo-desktop-geolocation=""
   ngeo-desktop-geolocation-map="ctrl.map"
   ngeo-desktop-geolocation-options="ctrl.desktopGeolocationOptions">
 </button>

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

HTML attributes:
Name Type Description
gmf-geolocation-map ol.Map The map.
gmf-geolocation-options ngeox.DesktopGeolocationDirectiveOptions The options.
Returns:
angular.Directive

The Directive Definition Object.