Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Adding support for InfoBubble: a more customizable infowindow. #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dashue
Copy link

@Dashue Dashue commented Feb 18, 2014

Tests are broken due to "Infobubble is not defined", please advice how to handle this.
Currently doesn't work with "Controller As" syntax, would love to get help to fix this
There's a quirk with only the first bubble being hidden on start, hence the need for HasMapMenuBeenOpened

Usage:

Add Location

$scope.OpenMapMenu = function (latLng) {
$scope.HasMapMenuBeenOpened = true;

        var marker = new google.maps.Marker({
            map: $scope.MyMap,
            position: latLng,
            icon: '/Content/Images/Markers/Empty.png'
        });

        $scope.MapMenu.open($scope.MyMap, marker);
    };

@Dashue
Copy link
Author

Dashue commented Feb 18, 2014

ties back to my first attempt a while ago #5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant