I can add markers to cards, and the marker output looks fine, but I don’t see any names on them!
I go through my store and add them like this:
for (var i = 0; i < this.getCount(); i++)
{
var position = new google.maps.LatLng(this.getAt(i).data.Latitude, this.getAt(i).data.Longitude);
var marker = new google.maps.Marker({
position: position,
title : this.getAt(i).data.LocationDesc,
map: Ext.ComponentManager.get('jobmap').getMap()
});
}
I see pins, but not a textual name! The data is fine, and I even tried hard-coded strings. Is there any overlay / mask property? How to get headers?
EDIT : the solution below solves the problem, but I also thought that I would choose a solution to the problems associated with this.
If you want to place information pop-ups on multiple markers, you need to read the following: Trying to link multiple InfoWindows with multiple markers on a Google map and crash
, ! API Google InfoWindow