Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
infowindow = cdb.vis.Vis.addInfowindow(map, publishedSublayer, ['cartodb_id', 'cdb_list'], {
infowindowTemplate: $('#infowindow_template').html(),
templateType: 'mustache'
//infowindow.model.set('template', $('#infowindow_template').html());
//publishedSublayer.infowindow.set('template', $('#infowindow_template').html());
publishedSublayer.on('featureOver', function(e, latlng, pos, data) {
//$('#map').css('cursor', 'pointer');
//alert("Hey! You hovered " + data.cartodb_id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.