rishabhthakur / mapstraction

Automatically exported from code.google.com/p/mapstraction
Other
0 stars 0 forks source link

microsoft: Implement infoBubble event set up #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Replication of the google implementation of AddMarker, where the infoBubble
is set at proprietary creation. Bing maps use a different methods but set
it, but the result is the same.

Original issue reported on code.google.com by hugoe...@gmail.com on 5 Jun 2009 at 3:35

GoogleCodeExporter commented 9 years ago
If this can help I got Bing to display infoBubble info on hover by adding this 
line
mmarker.SetTitle(this.infoBubble);

here

Marker: {

    toProprietary: function(Marker) {
        var mmarker = new VEShape(VEShapeType.Pushpin,
this.location.toProprietary('microsoft'));
        mmarker.SetTitle(this.infoBubble);
        return mmarker;
    },

Original comment by nelson.c...@gmail.com on 3 Jun 2010 at 9:34