I am trying to put open street map as one of the basemap option in our application.
The code can be as simple as this:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:esri="http://www.esri.com/2008/ags" pageTitle="Using OpenStreetMap with ArcGIS API for Flex"> <esri:Map logoVisible="false"> <esri:OpenStreetMapLayer/> </esri:Map> </mx:Application>
However, I always get this error on compliation: "Could not resolve <esri:OpenStreetMapLayer> to a component implementation"
I am using ArcGIS API for Flex 1.3 on Flex Builder 3 , is OpenStreetMapLayer not available on 1.3 and I have to upgrade my Flex Builder to 4 inorder to use the later version of ArcGIS API before using this layer?