Esri / nearby-javascript

ArcGIS API for JavaScript app to find places nearby and route to the nearest location.
Apache License 2.0
41 stars 24 forks source link

Running App in browser on iOS device, App does not format for mobile. #2

Closed esreli closed 5 years ago

esreli commented 5 years ago

The app does not present a map to the user when device is in portrait orientation.

(Simulator, Safari) screen shot 2019-01-11 at 3 18 04 pm

(Device, Chrome) screen shot 2019-01-11 at 3 34 50 pm

This behavior is reported using:

odoe commented 5 years ago

Should be fixed in https://github.com/ArcGIS/nearby-javascript/commit/b4f4af91434fb2b325d7447ba01599df4896d510

esreli commented 5 years ago

Confirmed, this has been fixed in real devices.

As for the simulator, the app treats the simulator browser as if it's a desktop browser and results in this kind that hides the identified feature when in landscape orientation:

screen shot 2019-01-16 at 2 31 23 pm

I will not close the issue, deferring judgement to @odoe regarding whether this should be accounted for, or not.