DEV Community

mibii
mibii

Posted on

New Feature Announcement: Enhanced Map Interaction on My "Infometka"!

I am excited to introduce a new feature at "Infometka" interactive map web app that enhances your experience and makes navigation even easier.

You can now enter specific coordinates directly on the map interface.
Instant Navigation: With a simple click, the map will automatically center on the specified coordinates, zooming in to give you a detailed view.

Image description

Here's a sneak peek at how it works:

// Function to handle coordinate input and move the map
const handleMovetoCoord = ({ lat, lng }) => {
  setViewport({
    ...viewport,
    latitude: lat,
    longitude: lng,
    zoom: viewport.zoom + 3 <= 22 ? viewport.zoom + 3 : 22,
    transitionDuration: 1000,
    transitionInterpolator: new FlyToInterpolator()
  });
};
Enter fullscreen mode Exit fullscreen mode

Stay tuned for more updates as we continue to enhance our web app to better serve your needs. Try out the new feature now and experience a more interactive and user-friendly mapping experience!

Happy exploring! 🌍
https://infometka.com/

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more