Skip to content

Commit

Permalink
Markers log
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarrenechea committed Dec 11, 2023
1 parent 000c10f commit 1e1ebfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 1 addition & 6 deletions client/src/containers/map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ export default function MapContainer() {

const isHomePage = useMemo(() => !pathname.includes('stories'), [pathname]);

console.log('isHomePage', isHomePage);

// const { data: layersInteractiveData } = useGetLayers(
// {
// filters: {
Expand Down Expand Up @@ -153,14 +151,11 @@ export default function MapContainer() {
// );

const handleMapMove = useCallback((e: MapLayerMouseEvent) => {
console.log(e.features);

if (e.features?.length) {
const f = e.features[0];

console.log(f);

if (f.source === 'story-markers') {
console.log('f', f);
setMarker({
...f,
geometry: f.geometry as GeoJSON.Point,
Expand Down
2 changes: 2 additions & 0 deletions client/src/containers/map/tooltips/home-tooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ interface HomeTooltipProps extends RMarkerProps {
const HomeTooltip = (props: HomeTooltipProps) => {
const { properties, onClick } = props;

console.log({ props });

return (
<RPopup
{...props}
Expand Down

0 comments on commit 1e1ebfa

Please sign in to comment.