Add bing maps support to job order. #221
This commit is contained in:
parent
0cffc525c5
commit
6e682889c7
1 changed files with 5 additions and 5 deletions
|
|
@ -34,11 +34,6 @@ $(function() {
|
|||
}
|
||||
|
||||
map.setCenter(lat, lng);
|
||||
map.addMarker({
|
||||
lat: lat,
|
||||
lng: lng,
|
||||
icon: '/assets/images/icon-destination.png'
|
||||
});
|
||||
|
||||
// set value in hidden input
|
||||
$('#map_lat').val(lat);
|
||||
|
|
@ -135,6 +130,11 @@ $(function() {
|
|||
);
|
||||
|
||||
{% for hub in hubs %}
|
||||
var hub_dest = new Microsoft.Maps.Location({{ hub.hub.getCoordinates.getLatitude }},
|
||||
{{ hub.hub.getCoordinates.getLongitude }});
|
||||
hmap.entities.push(new Microsoft.Maps.Pushpin(hub_dest, {
|
||||
})
|
||||
);
|
||||
hmap.addMarker({
|
||||
lat: {{ hub.hub.getCoordinates.getLatitude }},
|
||||
lng: {{ hub.hub.getCoordinates.getLongitude }},
|
||||
|
|
|
|||
Loading…
Reference in a new issue