- GIS developer and long-winded pontificator with Environment and Climate Change Canada ππΎ
- Technical lead for the Reusable Accessible Mapping Platform πΊοΈπ§ββοΈ
- Executive knucklehead at Grousewood Games π³π
β
proof o concept for esri 4 geoapi
β
The Overview Digit was dropped when ESRI moved to v4
Likely need to make a dedicated map view to handle it.
I guess using PanelAPI makes sense for the container? Would need to delay creation of the overview until the panel and the host <div>
are created.
A second MapView
would be easiest, however we might be seeing all layers in the view, not just basemap. Need to experiment.
Can also make a second Map alltogether and just keep it synched with our main map extent
Sample has a 2D overview on a 3D map.
https://developers.arcgis.com/javascript/latest/sample-code/overview-map/index.html
Also might be worth trolling the esri forums, as this seems like a common thing people will be grousing about.
Directories under src
<root>
has the loader stuff, code that makes the library, type defsmap
has the map stufflayer
has the layer stuffutil
? (not sold on the name) contains stuff like symbology, query, etc..map
or .maps
provides functions to make maps. E.g.
gapi.maps.createMap(configObj, divId): Map
gapi.maps.createOverviewMap(mainMap, divId): Map
(design up in the air, see #5 )gapi.maps.create3DMap(configObj, divId): Map3D
(next level enhancement).layer
or .layers
provides functions to make layers. E.g.
gapi.layers.createFeatureLayer(configObj): FeatureRecord
(or whatever Records get renamed to)gapi.query.myFunc()
, gapi.symbology.otherFunc()
gapi.util.query.myFunc()
gapi.dev.esriLoadApi()
to do plugin sorcerySpam ideas below
Does Record
and FC
still make sense?
Would Layer
and Sublayer
be clearer? Maybe a better word than Sublayer
...
Spam ideas here
Instead of using Terraformer and ramming json into a Feature Layer, try to use new class instead for all File / WFS sources
We have a bunch of different config options.
outfields
is an optional comma delimited string of field names. If not *
, will only include the fields in the list. This impacts the attribute loader. End result affects what is available to display in grid, display in details pane, what's on observables.
fieldMetadata
is an array of mappings between field name and alias. Lets author define a custom alias.
The grid config has columns
which map to fields. While a bit redundant, I can see the use of having an additional override here if authors want grid to look different / have different column heading.
Possible idea would be to expand fieldMetadata
to include an omit
flag, replacing the outfields
. I.e. you would have to define fields you don't want instead of defining fields you do want.
Another idea is to push the fieldMetadata
array into a property of new field metadata object, and add a boolean property for exclusivity. In this case, if true, we only take fields in the field metadata list. Otherwise the list acts as an enhancer (e.g. you only want to override one alias, only need one element. But if exclusive, need every element).
Our local printing is better.
Might be useful to leave option open to a 3rd party, though we are not that focused on 3rd parties right now.
Got decomissioned.
Used for bounding boxes of graphics.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.