Skip to content

Commit

Permalink
fix map tooltip mouseover
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Sep 7, 2023
1 parent 977b762 commit 3b19446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
* @Last Modified Time: Tuesday May 5th 2020
* @Copyright: (c) Oregon State University 2020
*/
VUE_APP_ROOT_API=http://localhost:3000
VUE_APP_ROOT_API=https://api.sustainability.oregonstate.edu/v2/map
VUE_APP_HOST_ADDRESS=http://localhost:8080
2 changes: 1 addition & 1 deletion src/components/map/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default {
}
e.target.setStyle({ fillColor: '#000', color: '#000' })
e.target
.bindTooltip(e.target.feature.properties.name)
.bindTooltip(e.target.feature.properties.tags.name)
.openTooltip()
})
layer.on('mouseout', (e) => {
Expand Down

0 comments on commit 3b19446

Please sign in to comment.