WIP: Resolve "Use bing maps" #1069

Draft
korina.cordero wants to merge 16 commits from 221-use-bing-maps into master
Showing only changes of commit 6e682889c7 - Show all commits

View file

@ -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 }},