File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ <h1 class="bh-sl-title">Using Chipotle as an Example</h1>
44
44
'querystringParams' : true ,
45
45
'fullMapStart' : true ,
46
46
// The following paths are set because this example is in a subdirectory
47
- 'dataLocation' : '../data/locations.xml ' ,
47
+ 'dataLocation' : '../data/locations.json ' ,
48
48
'infowindowTemplatePath' : '../assets/js/plugins/storeLocator/templates/infowindow-description.html' ,
49
49
'listTemplatePath' : '../assets/js/plugins/storeLocator/templates/location-list-description.html'
50
50
} ) ;
Original file line number Diff line number Diff line change 70
70
<script>
71
71
$(function() {
72
72
$('#bh-sl-map-container').storeLocator({
73
- dataRaw: <?php echo json_encode ($ data ); ?>
73
+ dataRaw: <?php echo json_encode ($ data ); ?> ,
74
+ dataType: 'xml'
74
75
});
75
76
});
76
77
</script>
You can’t perform that action at this time.
0 commit comments