New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Load H3 hexagons on top of google vector maps #8476
Comments
As soon as I comment out All Deck packages at version |
https://deck.gl/examples/google-maps shows GoogleMapsOverlay working with a vector map. |
Google's own ArcLayer example works on their site, but not with my vue3 app with vector map. Works ok with raster still.. going to try to dig into it.. upd1: downgrading from 9.0.14 to 8.9.36 doesn't help |
Integration with raster and vector follow completely different implementations, please read https://deck.gl/docs/developer-guide/base-maps/using-with-google-maps#integration-modes Your issue is very likely related to the particular setup of your project, so as I said, providing a full reproduction is necessary for the maintainers to look into it. |
my issue is this vuejs/core#10776. As soon as I don't store map in Pinia, all layers work fine. |
Vuejs is known to mutate data objects in a way that is incompatible with third party libraries. I do not know anything about the data store you are using, but in general we recommend vue users to opt out Deck/Layer instances from reactivity, e.g. markRaw
|
thank you! TIL about
I hope I haven't hijacked @vishnu947 issue, and theirs was in vuejs as well. |
Description
Here i am trying to load hexagons using vector maps. But i am unable to load it. Instead i can able to load using raster Maps by using the same below snippet without mapId.
import { H3HexagonLayer } from "@deck.gl/geo-layers";
import { GoogleMapsOverlay as DeckOverlay } from "@deck.gl/google-maps";
map = new google.maps.Map(
document.getElementById("map"),
{
center: {
lat: intlat.value,
lng: intlong.value,
},
zoom: zoomVal,
mapId: "************", //Enabled for Vector Maps
}
);
Attached screenshot is the data format i am getting which works for raster maps but not for vector maps:
Flavors
Expected Behavior
Make sure it will load the hexagons by using vector maps
Steps to Reproduce
https://deck.gl/docs/api-reference/geo-layers/h3-hexagon-layer
On top of google vector map i need to load like in the above link.
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: