Azure Maps

Azure Maps is a portfolio of geospatial services that include service APIs for Maps, Search, Routing, Traffic and Time Zones. The portfolio of Azure OneAPI compliant services allows you to use familiar developer tools to quickly develop and scale solutions that integrate location information into your Azure solutions. Azure Maps provides developers from all industries powerful geospatial capabilities packed with fresh mapping data imperative to providing geographic context to web and mobile applications.

More details about the services are available in the Azure Maps documentation. If you have a technical issue, please open a post on the developer forums through Stack Overflow or MSDN.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. atlas.Control interface onAdd property should return HTMLElement | null

    In azure-maps-control 2.0.21 typings, the Control interface has a property called onAdd.

    onAdd(map: Map, options?: ControlOptions): HTMLElement;

    If we want to prevent the control from being added, because a validation failed, shouldn't null be returned? Just like in the following AzureMapSample:

    Returning null causes a TS compilation error, onAdd is expecting an HTMLElement not HTMLElement | null.

    onAdd(map: Map, options?: ControlOptions): HTMLElement;

    onAdd(map: Map, options?: ControlOptions): HTMLElement | null;

    1 vote
    Sign in
    Sign in with: Microsoft
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Bugs  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Azure Maps


Feedback and Knowledge Base