MapViewer Geocoder URL

I was using Map viewer URL provided by Oracle. We use these following two URL's
Map viewer URL : http://elocation.oracle.com/mapviewer
Geocoder URL : http://elocation.oracle.com/geocoder/gcserver
Sometimes Map Viewer URL when tested , the connection says 'Specified URL Connection is not accessible'. Bcoz of this i could not able to display color theme on the map resulted in error saying Map Viewer URL not found.
so later from someones help i understood tat it is for DEMO purpose so i installed OC4J and deployed mapviewer.ear file. i could able to bring up the mapviewer which i deployed.
i have two doubts here.
1) Do i need to have any database/schema that has all themes ,styles and other related map data in order to use it for the color theme map in ADF geographic components?
2) what URL should i need to give for Geocoder URL?

I'm not sure I understood the question. The answer below is based on the following assumptions that what you want do is:
a) use ADF and ADF DVT components to develop your application.
b) use a geocoder to convert street address (e.g. 500 oracle pkwy, redwood city, ca 94065) to Longitude, Latitude coordinates in order to display them on a map
c) also show some color filled areas on a map where the areas, for example, are US States or US Counties.
The question is can you use the two URLs, specified above, for the DVT GeoMap component to do this?
Short answer: Yes.
The correct theme name which uses state abbreviations to identify a state is map_states_abbrv. (i.e. abbrv instead of abbrev).
I don't why it worked one day and then not the next. Quite possibly what occurred was a data update which removed the temporary theme name that existed.
A few points of note:
- If you persist the addresses in some (oracle) database it probably makes sense to store the Long/Lat values too.
- the geocoder at elocation oracle com only has reference data for USA, Canada, and Western Europe.
Now for the other questions. I'm assuming they are:
1) what does mvdemo dataset contain? Only US state and county boundaries, location of some cities, and linear extent of some interstate highways. It does not have the reference data required for address geocoding.
2) what does the Navteq sample dataset contain? See http://www.oracle.com/technetwork/database/options/spatial/downloads/partners/spatial-partners-data-087203.html
It has detailed street level data, and required reference tables for address geocoding, for San Francisco, CA only.
3) If I do get reference data for geocoding what will it contain and how will updates be reflected or used?
The reference, from Navteq at elast, contains street segments and valid address ranges and postal code, admin area info for those street segements. The Spatial geocoding algorithms use interpolation to determine the long/lat for a supplied address. If the reference data contains parcel level details (e.g Navteq Point Addresses or CoreLogic's ParcelPoint dataset) then it will simply lookup the address and long/lat. Any committed updates will be used in subsequent geocde queries/lookups.
4) "I will be using complete postal address to locate in the map,so i believe i dont need to have individual geocoder apps deployed in my system OC4J where as it will be used only when we need to associate spatial locations (longitude and latitude coordinates) with postal addresses.correct me if i am wrong in this ?"
A complete postal address has to be converted to longitude, latitude coordinates in order to display it on a map.
Hope this helps.

Similar Messages

  • Mapviewer 12.1 3   spins on URL login

    Hi All,,
    Installed new mapviewer on 12.1.3 WLS installation with FMW Infrastructure.
    After installing Mapviewer, the URL to server  just keeps spinning...
    meaning, it is redirecting to http://server:7001/mapviewer/faces/main/login.jspx
    and it just spins and does not render a page.
    Any ideas are appreciated
    thanks

    Did you follow all the installation steps inside this link http://docs.oracle.com/middleware/1213/core/JIMPV/vis_start.htm?

  • Using MapViewer from PL/SQL vs Java

    Hi group!
    The MapViewer User's Guide has this to say about using MapViewer from PL/SQL:
    "The usage model for the SDO_MVCLIENT package is almost identical to that of
    MapViewer JavaBean-based API" etc etc .. "For usage and reference information about specific functions or procedures, see the description of the associated JavaBean-Based API. methods and interfaces in Chapter 4"
    If I don't misunderstand the basic concept, in a Java Web App (using the MapViewer Bean) you create a MapViewer object for each HTTP-user-session, like so:
    MapViewer mv = new MapViewer("http://my_corp.com:8888/mapviewer/omserver");
    ... which you would then store in the user's session object, so that the MapViewer Bean conveniently holds the map's state on the user's behalf.
    To do the equivalent in PL/SQL, the User's Guide suggests:
    "connect scott/tiger
    call sdo_mvclient.createmapviewerclient(
    'http://www.mycorp.com:8888/mapviewer/omserver') ;
    The preceding example creates, in the current session, a unique MapViewer client
    handle to the MapViewer service URL"
    Does "current session" refer to the HTTP-user-session? While I've used PL/SQL before, I've not used the PL/SQL Web Toolkit. Is the session handling implicit here (and invisible?) or should the sdo_mvclient be subsequently stored in the PL/SQL equivalent of a (J2EE) HttpSession object?
    YT

    Part of the answer will depend on how you plan to deploy the application. If you have a few, local clients you could go with the traditional client/server model. If you have a lot of clients and/or they are spread out over a relatively large area (like a campus setting), a web front-end will save you a lot of hassels down the road when it comes time to upgrade.
    Regardless of the the front end, I can tell you that I have been greatly impressed with the throughput you can get by moving most of the code to PL/SQL packages. A few years ago we reworked a VB/Oracle app by moving a lot of the code out of VB and into packages, leaving the client to essentially call procedures and format the output. We had more than a 3x performance increase on the same hardware and our network utilization decreased noticably.
    I am now in the process of replacing the client code with Java servlets/JSP, primarily because of the maintenance hassles I mentioned earlier. There are some limitations with an HTML page but most of these have been cosmetic so far.
    We are still relying heavily on PL/SQL packages. The servlet code basically gets a request, calls a package to get the data, then hands the results to a JSP page. The JSP then formats the output and sends it to the client. We are little more than halfway through the re-write, but it appears performance will increase again. Not as noticably as before, but I will take what I can get. As you have seen, once something is rolled out it always ends up getting used more than you anticipated. Better to over-engineer now than have to patch it once it is live.
    HTH

  • MapViewer Demo Returns Blank Maps

    I am installing the MapViewer for the first time. I imported mvdemo.dmp after creating the mvdemo user with:
    SQL> grant connect, resource to mvdemo identified by mvdemo;
    Then import from command line with:
    imp mvdemo/mvdemo file=mvdemo.dmp full=y ignore=y
    no errors
    Then executing sql as mvdemo with :
    SQL> @mvdemo.sql
    The mapviewer runs the demo and connect to the db as it should. There are base maps, themes, styles etc viewable from the submits.
    The image returned however is just a blue tile.
    Any ideas where I missed a step?
    Thanks

    Here is the console output
    E:\j2sdk1.4.2_10\bin\javaw.exe -jar E:\JDeveloper1012\j2ee\home\admin.jar ormi://150.125.27.238:23891 admin **** -updateConfig
    05/12/08 19:02:55 ApplicationServer: appName = bc4j
    05/12/08 19:02:55 ApplicationServer: appName = current-workspace-app
    Ready message received from Oc4jNotifier.
    05/12/08 19:02:55 Auto-deploying file:/E:/JDeveloper1012/jdev/mywork/WebMap/ViewController/public_html/ (New server version detected)...
    Embedded OC4J startup time: 1512 ms.
    Target URL -- http://150.125.27.238:8988/WebMap-ViewController-context-root/webmap.jsp
    Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='view.ApplicationResources', returnNull=true
    05/12/08 19:02:57 created a new MapViewer handle.
    from the embedded oc4j in jdeveloper. The is the Map Image generated in the browser is just a Blue tile with the title, no base map. The JSP is below:
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <DIV align="center">
    <P>My Web Map</P>
    <P>
    <mapviewer:init url="http://vciwnorclmt.cipcpub.local/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
    </P>
    </DIV>
    <mapviewer:setParam antialiasing="true" basemap="demo_map" centerX="-122.4" centerY="37.8" height="450" size="10" title="My Web Map" width="600"/>
    <mapviewer:run/>
    <DIV align="center">
    <img src="<mapviewer:getMapURL />"/>
    </DIV>
    </body>
    </html>

  • Mapviewer (world_sample) and maps in browser

    Hi.
    I've installed world_sample together with obiee 11g installation.
    On mapbuilder created map of Poland and implemented it into my BI reports.
    Maps works fine when I run them on browser installed on BI server.
    When I try to see them on other browser (another PC) reports shows except maps.
    Also maps from OBIEE_NAVTEQ_Sample works just on local browser.
    It used to work fine but after I did all the world_sample configuration it seems to be broken.
    What did I miss?
    Regards,
    Tomasz

    Most likely the cause is that the generated urls e.g. localhost:9704/mapviewer/images/fig7.png is not accessible from the other machine.
    If you have firefox click on Tools->Page Info->Media to see the mapviewer related urls.
    You'll have to change the <save_images_At> setting in mapviewerconfig.xml
    If the tiles are not visible then it's a different issue.

  • Error working with a mapviewer baseurl of a different machine

    I've developed a web application and my mapviewer base url reside on a different machine.
    The map doesn't appear... i get error: f16.f45[...].0 is null or it'snt an object...
    I think mapviewer isn't reachable, a similar web application deployed on the same machine works perfectly... on a different machine the drama, my drama...
    Please give me hopes!
    Thanks to all,
    Armando

    hi please see my answer to this issue on the neighbor thread. also note that MapViewer with oracle maps can only be deployed to oracleAS 10.1.3 or later.
    thanks

  • Integrating Oracle Mapviewer 12c in Endeca Map Component

    Hi,
    I m trying to use my own mapviewer for the map component of Endeca Studio 3.1.
    For this, I have made the necessary changes in the following fields in Framework settings:
         df.mapViewer: The URL of the MapViewer instance. By default, this is the URL of the Oracle public instance. For using own instance, the URL has to be of own instance.
    so here I have given the url to my own standalone mapviewer (http://hostname:port/mapviewer)
    My database holds the geospatial data and I m using the Getting Started project to see how is the data coming out to be.But I m not able to see the map as it's forever loading.I suspect this may be because of the login credentials needed for the mapviewer.Can anyone suggest any file where I need to provide the necessary credentials to log onto my mapviewer?
    Thanks.

    Would you be able to use a tool such as Firebug, to see what might be blocking the map from loading?

  • MapViewer JDeveloper embedded OC4J installation error

    Hi,
    I downloaded all latest mapviewer.ear and latest OC4J.
    Followed MapviewerUG installation instructions
    After starting OC4J
    using the url http://localhost:8888/mapviewer/
    works well and the demos like jview also works well
    using the url http://localhost:8888/mapviewer/omserver
    however, generates the following error
    &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;oms_error&gt;Message:[oms] empty or null xml map request string. Sat Apr 02 14:40:14 IST 2005 Severity: 0 Description: at oracle.lbs.mapserver.oms.getXMLDocument(oms.java:852) at oracle.lbs.mapserver.oms.doPost(oms.java:302) at oracle.lbs.mapserver.oms.doGet(oms.java:234) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)&lt;/oms_error&gt;
    I also downloaded the latest JDeveloper 10G and JDeveloper extensions and follwed the instructions in the How To Document
    How To Build Dynamic Maps Using JDeveloper 10g and Oracle Application Server MapViewer
    An Oracle JDeveloper How To Document
    Justin Lokitz
    October 2004
    I have no compilation errors but I am not able to view the density map. I am getting the Internal Server Error 500 instead.
    Can anyone please guide me through this.
    Thomas Joseph

    Hi Joao
    Thanks for tip on the log file.
    I have the data loaded.
    Evrything works fine when I use Mapviewer with OC4J and try the jview demo.
    I am however not able to get the example 'How to build Dynamic Maps' running using JDeveloper using the embeded OC4J server.
    The jsp source is as follows
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <DIV align="center">
    <P>MapViewer WebMap</P>
    <P>
    <mapviewer:init url="http://localhost:8888/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
    </P>
    </DIV>
    <DIV align="center">
    <mapviewer:setParam antialiasing="true" basemap="density_map" centerX="-122.4" centerY="37.8" height="450" size="10" title="MyWebMap" width="600"/>
    <mapviewer:run/>
    </DIV>
    <img src="<mapviewer:getMapURL />"/>
    </body>
    </html>
    There are no comilation errors
    When I run the code I get 500 Internal Server Error.
    The Application2-oc4j-app.log generated is as follows
    05/04/05 20:04:11 Started
    05/04/05 20:05:14 Application2-ViewController-webapp: JDevOJSP: init
    05/04/05 20:05:14 Application2-ViewController-webapp: action: init
    05/04/05 20:05:16 Application2-ViewController-webapp: 9.0.4.0.0 Started
    05/04/05 20:05:28 Application2-ViewController-webapp: Servlet error
    javax.servlet.jsp.JspException: Connection refused: connect
         at oracle.lbs.mapclient.taglib.MapViewerRunTag.doStartTag(MapViewerRunTag.java:123)
         at webmap.jspService(webmap.jsp:17)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Please put me on the track. I am not able to figure out what is going wrong.
    Regards
    Thomas Joseph

  • HTTP Call to Google Geocode

    Hi,
    I'm trying to make an HTTP call to the Google geocode service in an 6.20 client.
    The URL for the call is http://maps.googleapis.com/maps/api/geocode/xml?address=1,STREET,CITY,POSTCODE,&client=gme-ourclient&sensor=false&signature=fancygooglesignature=
    (I've change the client and the signature to rubbish for the example)
    I've put this URL (with the correct client and signature) in a web browser or a SAP html viewer it works fine and returns the required geocode.
    However, If I run it as a HTTP client call in a program it fails as google doesn't understand the client/signature pairing. The signature is getting changed somewhere in the call.
    My code is
    * Creation of new IF_HTTP_Client object
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url                = l_http_url
        IMPORTING
          client             = l_http_client
        EXCEPTIONS
          argument_not_found = 1
          plugin_not_active  = 2
          internal_error     = 3
          OTHERS             = 4.
    * Check this was successful
      CHECK : sy-subrc IS INITIAL.
    * Set the request method
      l_http_client->request->set_header_field( name  = '~request_method'
                                                value = 'GET' ).
    * Set the header
      l_http_client->request->set_header_field( name  = 'Content-Type'
                                                value = 'text/xml; charset=utf-8' ).
    * Send the request
      l_http_client->send( ).
    * Reterive the result
      CALL METHOD l_http_client->receive
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2
          http_processing_failed     = 3
          OTHERS                     = 4.
    content = l_http_client->response->get_cdata( ).
    I've tried turing of encoding and compression, passing the parameters individually into the object but nothing works.
    However, if I try the public geocode URL ( http://maps.google.com/maps/api/geocode/xml?address=1,STREET,CITY,POSTCODE,&sensor=false) it works fine.
    Any ideas how to use the URL with the signature?

    This is an example that works like our current solution:
    DATA: lr_conv TYPE REF TO cl_abap_conv_in_ce,
    plaintext TYPE string.
    DATA: lv_sign_key_x TYPE xstring,
    lv_sign_key   TYPE string,
    lv_hmac_result TYPE string,
    lv_sign_string TYPE string.
    TYPE-POOLS: abap.
    lv_sign_string = url.
    lv_sign_key = 'your_sign_key'.
    * String to SafeBase64
    REPLACE ALL OCCURRENCES OF '_' IN lv_sign_key WITH '/'.
    REPLACE ALL OCCURRENCES OF '-' IN lv_sign_key WITH '+'.
    * Do not sign the protocol/domain
    REPLACE 'http://maps.googleapis.com' IN lv_sign_string WITH ''.
    *Convert key from String to xString (hex)
    CALL FUNCTION 'SSFC_BASE64_DECODE'
    EXPORTING
    b64data = lv_sign_key
    IMPORTING
    bindata = lv_sign_key_x.
    * Generate signature
    cl_abap_hmac=>calculate_hmac_for_char(
    EXPORTING
    if_algorithm     = 'SHA1'
    if_key           = lv_sign_key_x
    if_data          = lv_sign_string
    IMPORTING
    ef_hmacb64string = lv_hmac_result
    * SafeBase64 -> Base64 again
    REPLACE ALL OCCURRENCES OF '/' IN lv_hmac_result WITH '_'.
    REPLACE ALL OCCURRENCES OF '+' IN lv_hmac_result WITH '-'.
    * Concatenate final URL
    CONCATENATE url '&signature=' lv_hmac_result INTO url.
    Best regards,
    Hendrik Behrens

  • STL map header file problem

    After having applied patch 107311-13, the compiler is reporting an error when I include the STL map header file. It is saying that the insert function is declared twice.
    When I compare the STL map header file with the version before the patch, I can see an additional declaration of the insert function which is identical to a previous declaration. To be able to generate my application, I had to replace the header file by the old version I kept aside.
    Does anyone have an idea?
    I am using compiler SC5.0 on a SunOS 5.7.
    Thanks.

    Hi All,
    I am facing the same issue: unable to save the mapconfig. The mapconfig dropdown list is empty after defining he mapviewer url and the geocoder url.
    Is this a bug? Any suggestions.
    - Tutorial: http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_58/jdtut_11r2_58_3.html
    - JDev: Studio Edition Version 11.1.2.1.0
    Build JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081
    Thanks
    Mike L

  • DVT-26000: unable to find connection in 'mapConfig1'

    I am using the Oracle MapViewer.
    Map Viewer: http://elocation.oracle.com/mapviewer
    Geocoder: http://elocation.oracle.com/geocoder/gcserver
    Everytime I run the application I get the following error: DVT-26000: unable to find connection in 'mapConfig1'
    Does anyone know how to correct this error. I'm running JDeveloper 11.2.3.

    Check if your connections.xml has both the URL present.
    Something like this
    <Reference name="mapviewer" className="oracle.adf.model.connection.url.HttpURLConnection" xmlns="">
          <Factory className="oracle.adf.model.connection.url.URLConnectionFactory"/>
          <RefAddresses>
             <XmlRefAddr addrType="mapviewer">
                <Contents>
                   <urlconnection name="mapviewer" url="http://elocation.oracle.com/mapviewer"/>
                </Contents>
             </XmlRefAddr>
          </RefAddresses>
       </Reference>
       <Reference name="gcserver" className="oracle.adf.model.connection.url.HttpURLConnection" xmlns="">
          <Factory className="oracle.adf.model.connection.url.URLConnectionFactory"/>
          <RefAddresses>
             <XmlRefAddr addrType="gcserver">
                <Contents>
                   <urlconnection name="gcserver" url="http://elocation.oracle.com/geocoder/gcserver"/>
                </Contents>
             </XmlRefAddr>
          </RefAddresses>
       </Reference>Also are you trying to access it from webcenter spaces ?

  • Deploy geographic Map on external weblogic

    Hi All,
    I am using jDev 11.1.1.6.0.
    I created a simple application with a geographic map on one page to show the stock levels. The application works fine and the map comes up perfectly when I run the application on the integrated weblogic server.
    When I deployed the application on external weblogic server, I get an error DVT-26000: unable to find connection in 'mapConfig1'
    I checked the EAR file and connections.xml is present. Is there any place in weblogic where I need to configure the MapViewer URL and the Geocoder URL?
    Thanks in advance,
    Ankit

    Okey.. let me just do one thing then.. i'll download the mapserver and install it on my external weblogic.
    Will update the thread with the results.
    Thank you,
    Ankit

  • Embedded Legend in JSP file

    I would like to embed my legend within my map request. I can display the legend on my page within a Table Row, but I would prefer it located inthe Southwest corner of my map image. Can this be done? I have seen it in XML done this way.
    Here is my legend code as well as my map display code.
    Thanks!
    <tr><td><mv:makeLegend id="myLegend">
    <legend bgstyle="fill:#ffffff;stroke:#ff0000" profile="SMALL" position="SOUTHWEST">
    <column>
    <entry text="Map Legend:" is_title="true" />
    <entry style="M.GREEN" text="No Outages Reported" />
    <entry style="M.RED" text="Outage Reported" />
    <entry style="M.AMBER" text="Degraded Status Reported" />
    </column>
    </legend>
    </mv:makeLegend>
    <IMG SRC="<%=myLegend%>"></td></tr>
    <tr align="center">
    <td valign="top" align="center">
    <input type="image"
    border="1"
    src="<mv:getMapURL />"
    name="userClick"
    alt="Click on the map for selected action">
    </td></tr>

    Hi,
    you can't use the makeLegend tag to embed it on map, but you can add an API method on your jsp code to add the legend. This is an example:
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="oracle.lbs.mapclient.MapViewer" %>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>untitled</title>
      </head>
      <body title="MapViewer WebMap">
        <DIV align="center">
          <mapviewer:init url="http://stadb35.us.oracle.com:8888/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
          <mapviewer:setParam basemap="density_map" width="600" height="450" antialiasing="true" title="My Web Map" centerX="-122.4" centerY="37.8" size="10"/>
        <%
          MapViewer mv = (MapViewer) session.getAttribute("mvHandle");
          mv.setMapLegend("<legend bgstyle=\"fill:#ffffff;stroke:#ff0000\" " +
                          "profile=\"MEDIUM\" position=\"SOUTHWEST\">\n" +
                          "<column>\n" +
                          "<entry text=\"Map Legend:\" is_title=\"true\" />\n " +
                          "<entry style=\"V.COUNTY_POP_DENSITY\" tab=\"1\"/>\n " +
                          "</column>\n " +
                          "</legend>");
        %>
          <mapviewer:run/>
        </DIV>
        <img src="<mapviewer:getMapURL />"/>
      </body>
    </html>

  • Putting Google maps on my Website

    I am brand new at website design and I am trying to put a website together mostly for fun what I would like to do is put Google maps on a page.  On that page I would like to mark locations (trails and camp site) with a little information and a link to a page that would have more information.  I believe there is a plug-in I can buy for only $25 but I am enjoying learning and would like to learn how instead of just a plug and play.  In contrast to that though I cheating and using Dreamweaver CS5.  Thank you for any help and sorry in advance for my ignorance.  If there is a site or explanation step by step (including code).  I have visited google maps http://code.google.com/apis/maps/documentation/javascript/tutorial.html#LoadingMap .
    My site is www.campingcoaches.com it is just for fun and a few friends to share where they have been camping so the coding I am working on in my spare time.
    All it take for Evil to thrive is for good people to do nothing

    All you need to do is to copy past the code and repeat from the "var marker" and down to the addListener for each marker with overlay you want.
    Remember to give the variables unique names.
    You can use this geoCode url to retrieve geocodes for the addresses you would like to have on your map:
    http://maps.google.com/maps/api/geocode/json?address=berlin,germany&sensor=false&language= en
    Look for the "location" section.

  • How to access multiple maps in OEID studio

    Hi,
    We are using our own instance of MapViewer(I added new tile layer) for the map component in studio. We updated the settings in the framework settings tab. Now we see the map component (google map) with the map we had configured .
    I have another map (Tile layer) in the mapviewer which shows the store view (not google map) . Now I want to display that in another map component. But as the settings for the Mapviewer are global , I am unable to do this .
    Is there any way that we can configure two different tile layers so that we can show two different maps in the studio.
    P.S. - Going forward we want to achieve this : As the user keeps on zooming in to the google map , the map changes to store Map.
    Regards,
    Mayank Batra

    Hi Maciek,
    To use google map in Oracle Map viewer , you need to do following :
    In your mapviwer :
    * Login to mapviewer admin .
    * Click on 'Management' tab on top.
    * Click on 'Manage Map Tile Layer' tab.
    * Click Create on left nav -> Select Google Maps as map source -> click continue
    * Enter tile layer map name and select your data source.
    * Enter the key . Key has to be generate from google map APIs using following link :
    https://developers.google.com/maps/documentation/javascript/tutorial#api_key
    * click on submit.
    * now your tile layer is created.
    Go to Endeca studio ->
    * Go to Framework Settings under control panel.
    * Change df.mapViewer to your mapviewer server url and df.mapTileLayer to name of <datasourcename>.<maptilelayer> you just used in MapViewer.
    Good to go...
    HTH,
    Mayank Batra

Maybe you are looking for

  • Amber update for lumia 520

    I received microsoft update yesterday, without Nokia Amber update. Do they come in one package or separately? If so, when should I expect the Amber update?

  • SQL 2012 Cluster Installation AddNode

    Hi All. I am trying to do a clsuter installation and I get the error below, when I try to add the second node as part of the cluster. Could not find subkey System\CurrentControlSet\Services\MSSQLFDLauncher$SQL_INSTANCE Error result: -2061828095 Resul

  • Aperture 2.0-slow loading RAW

    I got the trial version of Aperture 2.0 and was having a great time with my jpeg projects. The internet is down at my home so I'm on my MBP 2.4. Everything was working great until I imported a project that came from Aperture 1.5 on my home machine. I

  • Can anyone tell me how to move my email addresses from Mac Mail to Thunderbird

    Hi all. I've been having so many problems with Mac Mail that I decided to give Thunderbird v17 a go. It automatically imported my emails and account settings but hasn't imported my email addresses. I know they'll automatically be added as and when I

  • Boot load error

    Hello, I'm getting the following error when I try to provision an OS using N1: Rebooting with command: boot /pci@780/pci@0/pci@1/network@0:dhcp - install Boot device: /pci@780/pci@0/pci@1/network@0:dhcp File and args: - install 100 Mbps half duplex L