Skip to main content

Maps Frequently Asked Questions

Common questions about using maps with the TypeScript SDK.

General Questions​

What browsers are supported?​

The Maps SDK for TypeScript supports all modern browsers:

  • Chrome 90+
  • Firefox 89+
  • Safari 15+
  • Edge 90+

Do I need an API key?​

Yes, you need an API token from Magic Lane. See the Integrate SDK guide for details on obtaining and configuring your token.

Can I use the SDK offline?​

Yes, the SDK supports offline maps. You can download map data for specific regions. See the offline maps guide for more details.

Performance​

How can I improve map loading performance?​

  • Use appropriate zoom levels for your use case
  • Enable map caching
  • Download offline maps for frequently accessed areas
  • Optimize marker and shape rendering

For displaying many markers (1000+), consider:

  • Clustering markers at lower zoom levels
  • Using custom rendering techniques
  • Loading markers progressively as the user pans/zooms

Styling​

Can I customize the map style?​

Yes, the SDK supports custom map styles. You can modify colors, fonts, icons, and more through style configuration.

How do I add custom icons?​

You can add custom marker icons by providing image URLs or data URIs when creating markers.

More Help​

Can't find an answer? Check the guides or contact support.