Skip to content

Commit 4e1416e

Browse files
committed
Example file updates after data swap testing
1 parent 081fc21 commit 4e1416e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dist/query-string-example/submit.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h1 class="bh-sl-title">Using Chipotle as an Example</h1>
4444
'querystringParams' : true,
4545
'fullMapStart': true,
4646
// The following paths are set because this example is in a subdirectory
47-
'dataLocation': '../data/locations.xml',
47+
'dataLocation': '../data/locations.json',
4848
'infowindowTemplatePath': '../assets/js/plugins/storeLocator/templates/infowindow-description.html',
4949
'listTemplatePath': '../assets/js/plugins/storeLocator/templates/location-list-description.html'
5050
});

dist/rawdata-example.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@
7070
<script>
7171
$(function() {
7272
$('#bh-sl-map-container').storeLocator({
73-
dataRaw: <?php echo json_encode($data); ?>
73+
dataRaw: <?php echo json_encode($data); ?>,
74+
dataType: 'xml'
7475
});
7576
});
7677
</script>

0 commit comments

Comments
 (0)