Hi all,<div><br></div><div>       I have an issue when I try to show the label of the items  content in a KML file. </div><div><br clear="all"><div>      The piece of code is that:</div><div> </div><div><div>         myStyles = new OpenLayers.StyleMap({</div>
<div><span class="Apple-tab-span" style="white-space:pre">                      </span>"default": new OpenLayers.Style({</div><div><span class="Apple-tab-span" style="white-space:pre">                                  </span>label: "${name}",</div><div>
<span class="Apple-tab-span" style="white-space:pre">                                 </span>labelYOffset: "24"</div><div><span class="Apple-tab-span" style="white-space:pre">                         </span>})</div><div><span class="Apple-tab-span" style="white-space:pre">           </span>});</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">             </span>var kmlmedios = new OpenLayers.Layer.Vector("KML",{</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>styleMap: myStyles,</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                      </span>projection: map.displayProjection,</div><div><span class="Apple-tab-span" style="white-space:pre">                                   </span>displayInLayerSwitcher: false,</div><div>
<span class="Apple-tab-span" style="white-space:pre">                 </span>                strategies: [new OpenLayers.Strategy.Fixed()],</div><div><span class="Apple-tab-span" style="white-space:pre">                                       </span>visibility: true,</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                      </span></div><div> </div><div><span class="Apple-tab-span" style="white-space:pre">                                     </span>protocol: new OpenLayers.Protocol.HTTP({</div><div><span class="Apple-tab-span" style="white-space:pre">                                             </span>url: "kml/medios.kml",</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                              </span>params: { 'key': Math.random()},</div><div><span class="Apple-tab-span" style="white-space:pre">                                             </span>format: new OpenLayers.Format.KML({</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                                              </span>extractStyles: true,</div><div><span class="Apple-tab-span" style="white-space:pre">                                                         </span>extractAttributes: true</div><div><span class="Apple-tab-span" style="white-space:pre">                                                      </span>})</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                              </span>}),</div><div><span class="Apple-tab-span" style="white-space:pre">                                          </span>renderers: renderer</div><div><span class="Apple-tab-span" style="white-space:pre">                          </span>});</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">             </span>kmlmedios.events.on({"beforefeatureadded": ActualizaEstilo});</div></div><div><br></div><div><div>       function ActualizaEstilo(evt){</div>
<div><span class="Apple-tab-span" style="white-space:pre">              </span>var estilo;</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>estilo = evt.feature.layer.styleMap.createSymbolizer(evt.feature,"default");</div>
<div><span class="Apple-tab-span" style="white-space:pre">              </span></div><div><span class="Apple-tab-span" style="white-space:pre">             </span>for (var campo in estilo){</div><div><span class="Apple-tab-span" style="white-space:pre">                   </span>evt.feature.style[campo] = estilo[campo];</div>
<div><span class="Apple-tab-span" style="white-space:pre">              </span>} </div><div><span class="Apple-tab-span" style="white-space:pre">   </span>}</div></div><div><br></div><div><br></div><div>      All work fine in Chrome, IE, FireFox, but in my Android 2.21 using the WebBrowser by default, the  property labelYOffset does not work and the label is shown in the middle of the associated icon</div>
<div><br></div><div>      I don't know how to debug the webpage in the phone (Samsung Galaxy SCL - i9003) to find the bug. </div><div>      I'm working with OpenLayer 2.12</div><div><br></div><div>     Any workaround  to make it work ?</div>
<div><br></div><div>Thanks in advance,</div><div>Manolo Q.</div><div>   </div>-- <br><div>--</div><div><a href="http://accessprogprotect.no-ip.org/" target="_blank">http://accessprogprotect.no-ip.org/</a></div>
</div>