fix generation of markers for ngmaps (though still not displaying properly)