On Dec 8, 8:53 pm, Slobodan Milnović <[email protected]> wrote: > 2010/12/8 nunb <[email protected]>: > > > Try > > > (send-script > > " > > var map = new OpenLayers.Map('map'); > > var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", > > "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); > > map.addLayer(wms); > > map.zoomToMaxExtent(); > > ")
Please use common coding sense; you need to escape your inner double quotes (or use single quotes). ;) Leslie -- You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/weblocks?hl=en.
