{{ 'LOCATION' | translate }} {{ 'SAMPLES' | translate }}:
{{ 'LOCATION' | translate }}
{{:: 'CODE' | translate}}
HTML:
<pip-location class="map-edit" pip-rebind="true"
pip-location-name="note.location_name"
pip-location-pos="note.location">
</pip-location>
<pip-location class="map-edit" pip-rebind="true"
pip-show-location-icon="true"
pip-location-name="note.location_name" pip-location-pos="note.location">
</pip-location>
<pip-location class="map-edit" pip-rebind="true"
pip-show-location-icon="true" pip-collapse="true"
pip-location-name="note.location_name" pip-location-pos="note.location">
</pip-location>
JS:
$scope.note = {
location_name: '780 W. Lost Creek Place, Tucson, AZ 85737',
location: {
type: 'Point',
coordinates: [32.393603, -110.982593]
}
};
{{ 'LOCATION' | translate }} {{ 'MAP' | translate }}
{{:: 'CODE' | translate}}
<pip-location-map class="map-edit" pip-rebind="true"
pip-location-pos="note.location">
</pip-location-map>
{{ 'LOCATION' | translate }} {{ 'EDIT' | translate }}
{{ locationDisabled ? 'Disable' :'Enable' }}
{{:: 'CODE' | translate}}
<pip-location-edit class="map-edit" ng-disabled="locationDisabled"
pip-location-name="note.location_name" pip-location-pos="note.location">
</pip-location-edit>
{{ 'LOCATION' | translate }} {{ 'BY_IP' | translate }}
{{:: 'CODE' | translate}}
HTML:
<pip-location-ip class="map-edit" pip-rebind="false"
pip-ipaddress="ipaddress">
</pip-location-ip>
JS:
$scope.ipaddress = '96.17.143.194';