Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

How do you implement the getMarkers() method on the <marker> directive #1560

Open
@zellen

Description

@zellen

How do you use the getMarkers() method to retrieve the collection of markers? I've tried to use var markers = $scope.map.markerscontrol.getGMarkers(); but it only returns the last item in the list.

Made a plunkr http://plnkr.co/edit/Tl60bVydDQ3jIXqG6nIc

I wanna use the markers to calculate the bounds and map center.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions