Skip to content

fix: getbounds from filter obj#110

Open
Mohmn wants to merge 1 commit intoGreenstand:mainfrom
Mohmn:load-stateMap-by-bounds
Open

fix: getbounds from filter obj#110
Mohmn wants to merge 1 commit intoGreenstand:mainfrom
Mohmn:load-stateMap-by-bounds

Conversation

@Mohmn
Copy link
Member

@Mohmn Mohmn commented Aug 29, 2022

inorder to fix (Greenstand/treetracker-web-map-client#754) get filter method has to return bounds as a key-pair value too,as we can see this code (https://github.com/Greenstand/treetracker-web-map-api/blob/a1e948b3abbff826196bb3dffcc4b93c00c7dde5/src/models/Map.js#L44) suggests that we need to pass bounds as query param too which we aren`t currently doing

@Mohmn
Copy link
Member Author

Mohmn commented Aug 29, 2022

and @dadiorchen i haven't tested this on my local yet , how do i connect my local web-map-core to my local-web-map-client

@dadiorchen
Copy link
Collaborator

@Mohmn you can try to install the lib in this way: npm install /the/path/to/core/project npm can install lib locally by indicating the dir location

@dadiorchen
Copy link
Collaborator

@Mohmn good try, I just am little worried about the messy model of the web map core, maybe we need to do a refactor and re-design the core in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments