Hi Karthik,

I just tried to embed a yahoo map into a qooxdoo application and it 
worked without a problem. Can you try it in a different browser. Maybe 
the JavaScript console the shows a better error message.

Best Fabian

P.S.
for those interested, this is the code to embed a yahoo map:

      var map = new qx.ui.core.Widget().set({
        width: 400,
        height: 300
      });
      this.getRoot().add(map, {left: 50, top: 100});
     
      map.addListenerOnce("appear", function() {
        var ymap = new YMap(map.getContentElement().getDomElement());
          ymap.addTypeControl();
          ymap.setMapType(YAHOO_MAP_HYB);
          ymap.drawZoomAndCenter("Billerbeck", 5);       
      });

> Hi,
>
> I just included <script type="text/javascript"
> src="http://api.maps.yahoo.com/ajaxymap?v=3.8&appid=xxxxx";></script>
> in the index.html and the qooxdoo app fails to load.
> I get this error in the console. If I remove that line it works.
>
> file:///C:/downloads/webapp/qooxdoo-0.8.2-sdk/qooxdoo-0.8.2-sdk/framework/source/class/qx/Theme.js:387Uncaught
> Error: The type of the key "color" inside the meta block is wrong.
> file:///C:/downloads/webapp/qooxdoo-0.8.2-sdk/qooxdoo-0.8.2-sdk/framework/source/class/qx/log/appender/Native.js:81435ms
> qx.core.Init: Load runtime: 434ms
> file:///C:/downloads/webapp/qooxdoo-0.8.2-sdk/qooxdoo-0.8.2-sdk/framework/source/class/qx/theme/manager/Meta.js:108Uncaught
> Error: The theme to use is not available: console.theme.Theme
> file:///C:/downloads/webapp/qooxdoo-0.8.2-sdk/qooxdoo-0.8.2-sdk/framework/source/class/qx/log/appender/Native.js:81514937ms
> qx.core.ObjectRegistry: Disposed 16 objects
>
> Any help will be appreciated.
>
> Regards,
> Karthik
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-6784
[email protected]

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to