Working with the ADF DVT Map Component

The map component provided by the ADF Faces DVT set of components is one that we are always ending up using in key demos - simply because it is so nice looking, but also because it is quite simple to use.

So in case you need to show some geographical data, or if you just want to impress your manager, here is a little video that shows you how to create two types of maps.

The first one is a color themed map - where you show different states with different colors based on the value of some data point there. The other is a point theme - basically showing specific locations on the map. For both cases I'm using the Oracle provided mapviewer instance at

You can find more information about using the map component in the Web User Interface Developer's Guide here and in the tag doc and components demo.

For the first map the query I'm using (on the HR demo schema in the Oracle DB) is:

WHERE employees.department_id=departments.department_id
and Departments.location_id=locations.location_id


Hi Shay,

Thanks for the quick demo on the DVT Map. Is it possible to show the Satellite view on the map component instead of Map View? - Just like Google map, trying to enable the options like "Map View", "Satellite View" in the DVT Map component, but could not find a base map name for the Satellite option.


Posted by Guest on December 15, 2011 at 03:33 AM PST #

I believe that the mapviewer guys added support for layering Google maps see:
So you should be asking this on their discussion forum.

Posted by Shay on December 15, 2011 at 03:43 AM PST #

Hi Shay,

is it possible to develop new charts for ADF DVT?



Posted by Daniel on May 04, 2012 at 04:41 AM PDT #

Daniel - can you elaborate on what specifically you are looking for?
Are you looking to build a new type of chart that DVT doesn't provide right now? Which one?

Posted by Shay on May 04, 2012 at 10:09 AM PDT #

Basically, charts in OBIEE (therefore DVT) are just fine but what if I need to produce the following chart: ?
Since we need to produce industry-specific dashboards... it would be great to be able to use some new charts...

Posted by Daniel on May 04, 2012 at 04:08 PM PDT #

Hi Daniel - I don't think we have a mechanism in place to allow you doing this. I guess you'll need to use some other software solution to generate the image of the graph and then bring it into your ADF Faces application using an af:image component.

Posted by Shay on May 04, 2012 at 04:29 PM PDT #

Hi Shay,

Thanks for the post.

Can we use the "" fro production?
we have a requirement to show the information as a pins on the map and user can select a pin and see the information of that pin, as you have shown in the second example.

My another question is, will this behave same in mobile browser? Can we get the zoom in/out and selecting a particular point on map and displaying a tabular info on mobile browsers?


Posted by guest on August 02, 2012 at 08:10 AM PDT #

Ravi, you shouldn't be using the elocation server for your production system. For production you'll want to have a local installation of MapViewer on your WebLogic server - get it here:

As far as running on mobile devices - The map component is certified on iOS browser see for example:
Official Android support is planned for a future patch/version

Posted by Shay on August 02, 2012 at 10:32 AM PDT #

How to add new thematic map or floor plan to use in adf dvt:map ?

Posted by guest on September 29, 2012 at 08:51 PM PDT #

guest - a quick google will bring you to our tutorial on adding Thematic Map:

Posted by shay on October 05, 2012 at 10:24 AM PDT #

Sorry, but my question is not how to use the component, but how to add new "custom" thematic map or my own map or my own floor plan. I need to use another country map or another floor design.

thanks in advance.

Posted by guest on October 05, 2012 at 11:32 AM PDT #

guest, we haven't exposed the ability to add your own image for a map to the public yet - this is planned for an upcoming patch.

Posted by Shay on October 05, 2012 at 11:37 AM PDT #

Hello Shay!

Thanks for the tutorial, it was very useful!!!
I'm having a problem that some of the map toolbar buttons are not working... You can check on the Oracle Rich Client demo here:

At least here the following buttons are not working (you click and the cursor doesn't change):
- Area
- Distance
- Point Selection
And all the specific forms selector in toolbar...

Do you know how to solve this? Or I'm doing something wrong?

Thanks in advance,

Posted by Renan on October 28, 2012 at 11:10 AM PDT #

Renan - seems to be a bug introduced in - I reported it and it should be fixed in the next version. If this is a show stopper for you, please work with Oracle support to escalate and get a patch.

Posted by shay on October 31, 2012 at 10:59 AM PDT #

Hello Shay!

This is very nice post. I want to know, how to get the information of Latitude and Longitude using oracle elocation. I want to store Latitude and Longitude information of difference cities in database.

Shaheer Badar

Posted by Shaheer badar on February 28, 2013 at 02:52 AM PST #

The Oracle MapViewer can also provide you with geolocation information in the URL -
You can ask further question on the MapViewer server forum -

Posted by Shay on February 28, 2013 at 03:48 PM PST #

Shay, when I tried this exercise using the, I am just getting the map and not the color. I got this error in jdev console. DVT-26005: theme "mapColorTheme1" cannot be displayed: row 10 with id=dvt_geomap10 does not have a location value

What does this mean?

Posted by guest on June 05, 2013 at 06:24 PM PDT #

I drag and arop the employeeview1 into panelbox.I want to display the map image(google map).I want to create geographic map it showing the error as
"Failed to retrieve data from MapView server,Please check your map URLs "

Posted by guest on December 02, 2013 at 11:16 PM PST #

guest - you should check the URL you provided for your mapserver and your proxy settings in JDeveloper.

Posted by Shay on December 03, 2013 at 10:20 AM PST #


I tried to replicate the same in Jdev and getting following error


The page just shows the map without any data imposed on it.
Tried with BAR GRAPH themes with different schema but getting same error.


Posted by Hemant on December 07, 2013 at 10:33 AM PST #

I like Oracle Mapviewer work ADF by Jdeveloper but I wont to add action on Map using Jdeveloper and save (X,Y) on Database can you help me

Posted by yasser on October 19, 2014 at 05:30 PM PDT #

Hi, the dvt map has the functionality to use directions (routing)?

Posted by emanuele on February 03, 2016 at 01:49 AM PST #

hello hi ,

does the map works if only the country field is specified?

Posted by guest on February 22, 2016 at 02:04 AM PST #

guest - if you just want to show data based on country I would suggest you look at the thematic map component -

Posted by Shay Shmeltzer on February 22, 2016 at 08:56 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed

I'm a Director of Product Management for Oracle's Cloud Development Tools and Frameworks.
Follow me:

« August 2016