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

need example of markerlabel #820

Open
aesnyder opened this issue Oct 27, 2014 · 10 comments
Open

need example of markerlabel #820

aesnyder opened this issue Oct 27, 2014 · 10 comments
Assignees
Milestone

Comments

@aesnyder
Copy link

Now that markerlabel directive has been deprecated. I think it would behoove us to have an example of using marker to acheive the same results.

@aesnyder aesnyder self-assigned this Oct 27, 2014
@nmccready
Copy link
Contributor

In examples or the website or both?

@aesnyder
Copy link
Author

aesnyder commented Nov 4, 2014

Just website - super easy

@nmccready
Copy link
Contributor

ok i'll take care of it.

@nmccready nmccready assigned nmccready and unassigned aesnyder Nov 4, 2014
@nmccready
Copy link
Contributor

BTW just got a private email asking for help on the same window/windows problem you had last week. Is there a ticket for an example for that as well? @aesnyder

@nmccready
Copy link
Contributor

#823

@nmccready
Copy link
Contributor

#407

@nmccready nmccready added this to the 2.0.7 milestone Nov 4, 2014
@aesnyder
Copy link
Author

aesnyder commented Nov 4, 2014

@nmccready I don't see a ticket for it - I think we should make it to update the website to only use a template. As we will be deprecating the non-template approach in the near future.

@nmccready nmccready modified the milestones: 2.0.8, 2.0.7 Nov 4, 2014
@nmccready nmccready modified the milestones: 2.0.9, 2.0.8, 2.0.10 Nov 17, 2014
@nmccready nmccready modified the milestones: 2.0.10, 2.0.11, 2.0.12 Nov 26, 2014
@nmccready nmccready modified the milestones: 2.1.0, 2.0.12 Dec 3, 2014
@arnzel
Copy link

arnzel commented Apr 2, 2015

Hi.

I try to use the marker with label and i cant get it working.

My controller code

var latitude = 10;
            var longitude = 10;
            var latLng = new google.maps.LatLng(latitude,longitude);
            $scope.map = { center: { latitude: latitude, longitude: longitude}, zoom: 15 }; 
            $scope.marker = {
                id: 0,
                coords:{
                    latitude:latitude,
                    longitude: longitude
                },
                options:{
                    labelContent:"Commerzbank Hamburg",
                    position:latLng
                }

            };

in the html file

                <ui-gmap-google-map center='map.center' zoom='map.zoom'>
                    <ui-gmap-marker coords="marker.coords" idkey="marker.id" options="marker.options">     
                    </ui-gmap-marker>
                </ui-gmap-google-map>  

ther marker occurs, but there is no text. can you give me here a little example ?

@nmccready
Copy link
Contributor

Dig into the marker-child-model.coffee code and see what is required for a marker-label to occur.

@nmccready nmccready modified the milestones: 2.1.0, 2.1.1 Apr 27, 2015
@nmccready nmccready assigned pcbulai and unassigned nmccready Jul 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants