Skip to content

Commit 314329b

Browse files
authored
remove bbox offsets
1 parent 949e781 commit 314329b

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

  • Samples/Tutorials/Simple Store Locator

‎Samples/Tutorials/Simple Store Locator/index.js‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,10 @@ async function geocodeSelectedLocation(selectedEntity, autocompleteItem) {
280280
var coordinates = result.geometry.coordinates;
281281

282282
var bbox = [
283-
coordinates[0] - 0.1,
284-
coordinates[1] - 0.1,
285-
coordinates[0] + 0.1,
286-
coordinates[1] + 0.1
283+
coordinates[0] ,
284+
coordinates[1] ,
285+
coordinates[0] ,
286+
coordinates[1]
287287
];
288288

289289
map.setCamera({
@@ -598,4 +598,3 @@ function getAddressLine2(properties) {
598598

599599
//Initialize the application when the page is loaded.
600600
window.onload = initialize;
601-

0 commit comments

Comments
 (0)