Javascript-форум (https://javascript.ru/forum/)
-   ExtJS (https://javascript.ru/forum/extjs/)
-   -   hide marker by id (https://javascript.ru/forum/extjs/23350-hide-marker-id.html)

sedoyksa 21.11.2011 09:09

hide marker by id
 
hi
here http://suprofitweb.ru/google/map.php i have code\map
how can i call marker for hide it?
for example: markers: [{ lat: 42.339641,
lng: -71.094224,

marker: {title: 'Boston Museum of Fine Arts',draggable:true,id:'mark',
name:'mark'},
listeners: {
click: function(e) {
var el = this.getMarkerById('mark');
el.hide=true;
mark.hide=true;
Ext.Msg.alert(Ext.getVersion().toString());

so i have only alert. cant hide marker

i need to hide marker then i click checkbox on other window
how??

i use framework 4.0.0.

this question was on sencha.com/forum. answer - there is no extJS question, only GoogleMap API


Часовой пояс GMT +3, время: 19:50.