Comments (8)
@MikeMillerGIS Is this a core Popup issue or is it tied to Information Lookup specifically? If it is the later, can we get this resolved soon? @previnWong
from information-lookup.
We center the map and show pop up, map does not move itself. maybe there is a setting or something?
Can they use the side panel?
from information-lookup.
maybe something we can leverage in this thread
https://community.esri.com/thread/32141
from information-lookup.
@karmstro77 @NikkiGolding Made a fix to center the popup to support mobile platform. By doing so, though, the point clicked is offset from center in the display. Give it a shot and let me know. Get the version in the dev branch.
https://github.com/Esri/information-lookup/tree/dev
from information-lookup.
@previnWong We should make this an option. Will this change will affect and provide a different UX from an app today?
from information-lookup.
It shouldn't. Today, the map center and zooms to where the user clicked. The infowindow then opens and is offset to the right, therefore getting cut off on mobile devices.
Now, I just get where the user clicked, offset that location by the resolution of the infowindow. Then show the popup. The result is that the popup is centered in the viewing area and the clicked point is offset. A graphic is there so a user knows where he/she clicked.
from information-lookup.
more worried about desktop browser based, will it only move the map if the pop up is cut off?
from information-lookup.
The existing code in there calls for the map to center and zoom. So the map in the desktop browser will move as of today. I'm just changing it slightly where it centers. It should do the same for desktop browser, push it away from top or right from getting cut off.
Speaking of it now, I haven't done the case where you click and select the underlying feature. I will have to handle that case as well.
from information-lookup.
Related Issues (20)
- Expose option and add ability to draw on the map returned features
- Print option for Information Lookup template
- enhancement request - legend HOT 1
- combinedPopups.js not working properly when search by a polygon feature in a polygon layer HOT 1
- Share link button opens the app in a new tab HOT 3
- Crashes on mobile HOT 5
- Error on first search - subsequent searches fine
- Expose a geocoding match threshold or match level in configuration
- Geonet - information lookup template search issue HOT 2
- Side panel popup width HOT 1
- When side panel option is on, map result shifts
- Limit the Lat Long decimal places in results HOT 1
- Configuration Documentation consistency
- Not able to add custom locators HOT 7
- Info pop-ups open off screen HOT 1
- IE 11 Theme color for side tab
- Need to add Web GL flag
- Attribute expression not showing in pop up HOT 4
- Relationship class support HOT 1
- Disable center extent on point after clicking on map? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from information-lookup.