Google map simulation in java

Hi guys, i want to simulate my own version of google map but would like to design it in such a way that the geographical data is kept separate from the actual implementation functionality e.g use the data for different areas instead of me rewriting the code. Now, i have been searching the web and have noticed that java has a Class GeoData (http://flickrj.sourceforge.net/api/com/aetrion/flickr/photos/GeoData.html) which can be used to create the long/latitude but what i would like to know is are there any tutorials available that one could recommend me to show how to use this class? As again, i idealy would like to keep these components separate.
Your input would be so greatful guys.
Thanks

Oh i see cool. I've been browsing the net have found this link http://geotools.codehaus.org/ which seems to be what looks like some sort of IDE for map creation. Has anybody here ever used this before and what are you thought about this?
Edited by: nvidia1 on May 20, 2008 12:31 PM

Similar Messages

  • Google Maps in a Java Application

    I currently have a setup involving MapViewer where we generate maps and display the images within a desktop Java application. I was asked to look into adding Google imagery to these maps. I know that you can use the Google map tiles in a javascript based map (discussed on the Oracle Maps blogspot), but I was wondering if anyone had attempted doing this in just a client side application?
    Basically has MVGoogleTileLayer been implemented in the Java library for MapViewer or is there something I can do to implement the same functionality in the same way? Any pointing in the right direction or confirming this either way would be greatly appreciated. Thank you.

    In Google's terms of service they say that the following would violate the license restrictions:
    "10.8 use the Static Maps API other than in an implementation in a web browser;"
    Am I just misinterpreting this?
    I would still need to show a layer from my database on top of any imagery I get from Google so I would still need to get the Google Static Map request to run through MapViewer. We currently have a few other services where we are using them as WMS themes and that's kind of what I was trying to explain that I was looking for.
    So I guess two follow up questions: 1) Is it possible to use the Google static maps to accomplish this 2) Is it legal to use the maps to accomplish this?

  • Using XML file in Java script to create Google Map

    Hello,
    I work for a non-profit in San Diego as a GIS Specialist. I have had to teach myself about some scripting to create some dynamic maps, but I am still very limited in my skills, so I have had to explore the internet in order to discover various tutorials and examples that have led me on a positive path.
    Right now I am working on a Google Mash-Up that will incorporate over 14,000 records, which will appear as separate markers that will have pop-up info bubbles with additional info inside (using html), once the marker is clicked.
    Here is the XML script example that is used in the tutorial I am following:
    <markers>
    <marker lat="43.65654" lng="-79.90138" html="Some stuff to display in the<br>First Info Window"
    label="Marker One" />
    <marker lat="43.91892" lng="-78.89231" html="Some stuff to display in the<br>Second Info Window"
    label="Marker Two" />
    <marker lat="43.82589" lng="-79.10040" html="Some stuff to display in the<br>Third Info Window"
    label="Marker Three" />
    </markers>
    ...and this is how it looks when the file is retrieved by the java script and mapped: http://econym.googlepages.com/example_map3.htm
    This is the java script that creates the Google Map. I have emboldened the section of the script that retrieves the data and parses it to create the markers:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Google Maps</title>
    <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA6GoL8P5zqjQlG5A5uM1ETBSUPozAscB0cY3RG8xEGnZyeom4axRySak889rVpvHYRsV4f9OZZzbboA"
    type="text/javascript"></script>
    </head>
    <body onunload="GUnload()">
    <!-- you can use tables or divs for the overall layout -->
    <table border=1>
    <tr>
    <td>
    <div id="map" style="width: 800px; height: 1200px"></div>
    </td>
    <td width = 200 valign="top" style="text-decoration: underline; color: #4444ff;">
    <div id="side_bar"></div>
    </td>
    </tr>
    </table>
    <noscript><b>JavaScript must be enabled in order for you to use Google Maps.</b>
    However, it seems JavaScript is either disabled or not supported by your browser.
    To view Google Maps, enable JavaScript by changing your browser options, and then
    try again.
    </noscript>
    <script type="text/javascript">
    //<![CDATA[
    if (GBrowserIsCompatible()) {
    // this variable will collect the html which will eventualkly be placed in the side_bar
    var side_bar_html = "";
    // arrays to hold copies of the markers used by the side_bar
    // because the function closure trick doesnt work there
    var gmarkers = [];
    var i = 0;
    // A function to create the marker and set up the event window
    function createMarker(point,name,html) {
    var marker = new GMarker(point);
    GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml(html);
    // save the info we need to use later for the side_bar
    gmarkers[i] = marker;
    // add a line to the side_bar html
    side_bar_html += '<a href="javascript:myclick(' + i + ')">' + name + '</a><br>';
    i++;
    return marker;
    // This function picks up the click and opens the corresponding info window
    function myclick(i) {
    GEvent.trigger(gmarkers, "click");
    // create the map
    var map = new GMap2(document.getElementById("map"));
    map.addControl(new GLargeMapControl());
    map.addControl(new GMapTypeControl());
    map.setCenter(new GLatLng( 37.251699,-119.604315), 7);
    *// Read the data from testXML2blackpoolformat.xml*
    var request = GXmlHttp.create();
    request.open("GET", "testXML2blackpoolformat.xml", true);
    *request.onreadystatechange = function() {*
    *if (request.readyState == 4) {*
    var xmlDoc = GXml.parse(request.responseText);
    *// obtain the array of markers and loop through it*
    var markers = xmlDoc.documentElement.getElementsByTagName("ConnectoryRecord");
    *for (var i = 0; i < markers.length; i++) {*
    *// obtain the attribues of each marker*
    *var lat = parseFloat(markers[i].getAttribute("lat"));*
    *var lng = parseFloat(markers[i].getAttribute("lng"));*
    var point = new GLatLng(lat,lng);
    *var html = markers[i].getAttribute("html");*
    *var label = markers[i].getAttribute("label");*
    *// create the marker*
    var marker = createMarker(point,label,html);
    map.addOverlay(marker);
    // put the assembled side_bar_html contents into the side_bar div
    document.getElementById("side_bar").innerHTML = side_bar_html;
    request.send(null);
    else {
    alert("Sorry, the Google Maps API is not compatible with this browser");
    // This Javascript is based on code provided by the
    // Blackpool Community Church Javascript Team
    // http://www.commchurch.freeserve.co.uk/
    // http://econym.googlepages.com/index.htm
    //]]>
    </script>
    </body>
    </html>
    Here is my delima--
    This is the xml format that I need to use because it can accept the rest of my excel file and loop it through the 14,000+ records to create a functioning xml file. This is just a sample (2 records) of the larger file:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <ConnectoryAug2008>
    <ConnectoryRecord>
         <lng>-117.03683</lng>
         <lat>32.944505</lat>
         <ConnectoryID>1</ConnectoryID>
         <Name>$2.95 Guys</Name>
         <StreetAddress>13750 Stowe Drive</StreetAddress>
         <City>Poway</City>
         <State>CA</State>
         <Zip>92064</Zip>
    <Marker>White</Marker>
         <IndustryGroup>Technical Services</IndustryGroup>
         <ConnectoryProfileLink>http://connectory.com/search/profile_view.aspx?connectoryId=1</ConnectoryProfileLink>
    </ConnectoryRecord>
    <ConnectoryRecord>
         <lng>-117.272843</lng>
         <lat>33.13337</lat>
         <ConnectoryID>2</ConnectoryID>
         <Name>(GLDS) Great Lakes Data Systems</Name>
         <StreetAddress>5954 Priestly Drive</StreetAddress>
         <City>Carlsbad</City>
         <State>CA</State>
         <Zip>92008</Zip>
    <Marker>Orange</Marker>
         <IndustryGroup>Technology</IndustryGroup>
         <ConnectoryProfileLink>http://connectory.com/search/profile_view.aspx?connectoryId=2</ConnectoryProfileLink>
    </ConnectoryRecord>
    </ConnectoryAug2008>
    This is the tutorial where I found the formatting techniques to successfully create the large xml file that will format/convert my excel file properly: http://www.mrexcel.com/tip064.shtml
    These variables should appear as html in the info bubble:
    <ConnectoryID>2</ConnectoryID>
         <Name>(GLDS) Great Lakes Data Systems</Name>
         <StreetAddress>5954 Priestly Drive</StreetAddress>
         <City>Carlsbad</City>
         <State>CA</State>
         <Zip>92008</Zip>
    <IndustryGroup>Technology</IndustryGroup>
         <ConnectoryProfileLink>http://connectory.com/search/profile_view.aspx?connectoryId=2</ConnectoryProfileLink>
    The "Marker" variable instructs Google Maps to label the marker with a particular color. I will be so grateful to the person(s) that helps me get through this wall that I have been hitting for a long time. It's very difficult without having the luxury of peers who know about these types of issues.
    Thank you!!

    Here is the relationship: They both contain geographic coordinates that produce a point on a map. I will use the rest of the information in the second xml file (company name, address, link, etc.) to produce the information for the bubble that will pop up once the marker is clicked.
    My problem is that I need to try to keep the second xml file in a relatively similar format, so the rest of my records will still be accepted. If I had a smaller amount of records I could place them directly into the javascript, but because there are so many records, I need to use an xml file that can be retrieved by the java script. I chose to use the second type of xml file because I can easily copy and past the 14,000+ records that are now in excel document.
    After the xml issue is corrected I need to rework the javascript that is now emboldened so that it will read the new xml file correctly. I included the first xml file so that the readers will understand what type of xml format is currently being used to produce the markers in the tutorial map.

  • I cannot use Google Maps directions with Firefox. I get java void when I click on directions in Google Maps.

    I can use Internet Explorer to get directions with Google Maps but when I use Firefox 3.6 the task bar reads java void and no directions are displayed. How do I fix this?

    FF 7.0.1 SafeMode
    Mac OS 10.6.8
    Search for one location, Directions, enter 2nd location, Get Directions.
    Map shifts & displays correct area for route, but Loading appears and stays, route never appears.
    Works correctly in Opera, Safari & Chrome on same machine.

  • Using Google Map from Java FX

    We generally use GMAP2 object to display an Map in through java script .But we are not sure how we can integrate GMAP with java FX.
    If anyone has done anything on it please let us know.
    Thanks In Advance

    Can i get a little more detail information on this.We have a complete setup of Google map which is done through java script.How can i reuse the same component in java FX.

  • Calling Java Script to open a Map (Like Google Map) from Oracle Forms 10g

    Hello,
    We are on Oracle EBS rel 12, Forms 10g. We have a requirement of calling a Custom Map application (Like Google Maps) from Oracle Forms 10g.
    When the user enters the address like town, city, country etc and clicks on a button there should be a call to this Google Map like application which will pass the co-ordinates (Latittude, Longitude) to the map and shows the place on it. If the user selects a different location on this maps and closes the window the parameters co-ordinates (Latittude, Longitude) should be back in the calling form and this new location should replace the original location.
    I appreciate if I can get some help for the above requirements.
    Thank you.
    GM

    Thank you for your reply. I was reading on the metalink that we could use the to call the java script from oracle Forms 10g (Doc ID 265863.1)
    Example:
    WEB.SHOW_DOCUMENT ('javascript:void(window.open("http://www.oracle.com","","location=no,toolbar=no,menubar=no,status=no,"));self.close()','_blank');
    I tried it but it did not open the any window as it claims. Am I missing anything? Is there any IE related setting which I need to modify for the above to work?
    Regards
    GM

  • JAVA, TWITTER, GOOGLE MAPS, XML

    the task:
    Java command-line application that user enter location name and programm search using Twitter API the last messages, sent from the location. For example:
    search.twitter.com/sea...54472,10km
    messages must be in 4 varieties:
    1.without sorting
    2.sorting by name
    3.sorting by date
    4.sorting by content
    For getting place coordinates using google maps api(XML or CSV).
    To create places.csv, where store getting data about place from google maps (using cache).
    file places.csv must consist from the string:
    place name, xcoord, ycoord, radius_km, alternative name1..., alternative nameN

    that`s what I have written
    package tw;
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.net.URL;
    import java.text.DecimalFormat;
    import java.text.MessageFormat;
    import java.text.NumberFormat;
    import java.text.SimpleDateFormat;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Date;
    import java.util.List;
    import java.util.Locale;
    import java.util.TimeZone;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.xpath.XPath;
    import javax.xml.xpath.XPathConstants;
    import javax.xml.xpath.XPathExpression;
    import javax.xml.xpath.XPathFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Element;
    class Map {
    public String town;
    public String sort;
    class Geocoder {
    public double x;
    public double y;
    class Twpost {
    public Date date;
    public String content;
    public String author;
    class TwpostComparator implements Comparator<Twpost> {
    private String point;
    public TwpostComparator(String field) {
    this.point = point;
    public int compare(Twpost post1, Twpost post2) {
    if(point.equals("name")) {
    return post1.author.compareTo(post2.author);
    else if(point.equals("date")) {
    return post1.date.compareTo(post2.date);
    else if (point.equals("content")) {
    return post1.content.compareTo(post2.content);
    return 0;
    public class Tw {
    public static final String GOOGLE_MAPS_URL = "http://maps.google.com/maps/geo?output=csv&q={0}";
    public static final String TWITTER_URL = "http://search.twitter.com/search.atom?geocode={0},{1},{2}km";
    public static final String OUTPUT_DATE_PATTERN = "dd.MM.yyyy";
    public static final int TWITTER_SEARCH_RADIUS = 10;
    * @param args
    //Main program that takes a query and executes it
    public static void main(String[] args) {
    Map map = Query(args);
    // Make sure a query was given.
    if(map == null) {
    System.out.println("Wrong arguments");
    System.exit(1);
    else {
    new Tw().search(map);
    private void search(Map map) {
    Geocoder geol = Getuserlocation(map.town);
    if(geol == null) {
    System.out.println("Town " + map.town + " coordinates are not found");
    System.exit(1);
    List<Twpost> posts = Findmessage(geol);
    if(posts.size() > 0) {
    if(map.sort != null) {
    TwpostComparator comparator = new TwpostComparator(map.sort);
    Collections.sort(posts, comparator);
    printPosts(posts);
    else {
    System.out.println("No entries for town " + map.town + " found");
    private void printPosts(List<Twpost> posts) {
    SimpleDateFormat formatter = new SimpleDateFormat(OUTPUT_DATE_PATTERN);
    for(Twpost post : posts) {
    System.out.println(formatter.format(post.date) + " "
    + post.content);
    private List<Twpost> Findmessage(Geocoder geol) {
    NumberFormat format = DecimalFormat.getNumberInstance(Locale.US);
    String url = MessageFormat.format(TWITTER_URL, format.format(geol.x),
    format.format(geol.y), TWITTER_SEARCH_RADIUS);
    List<Twpost> posts = null;
    try {
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    Document doc = db.parse(url);
    doc.getDocumentElement().normalize();
    NodeList dates = doc.getElementsByTagName("post");
    for (int s = 0; s < dates.getLength(); s++) {
    Twpost post = new Twpost();
    String dateStr = (String)dates.item(s).getTextContent();
    post.date = pdate(dateStr);
    Element publish = (Element) dates.item( s );
    System.out.println( publish.getFirstChild().getNodeValue() );
    post.content=((Element)dates.item(s)).getElementsByTagName("content").
    item(0).getFirstChild().getNodeValue();
    post.author=((Element)dates.item(s)).getElementsByTagName("name").
    item(0).getFirstChild().getNodeValue();
    posts.add(post);
    catch (Exception e) {
    return posts;
    private NodeList getElementsByTagName(Document doc, String xpathExpr) {
    NodeList result = null;
    try {
    XPathFactory factory = XPathFactory.newInstance();
    XPath xpath = factory.newXPath();
    XPathExpression expr = xpath.compile(xpathExpr);
    result = (NodeList)expr.evaluate(doc, XPathConstants.NODESET);
    }catch (Exception e) {
    return result;
    private Date pdate(String dateStr) {
    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
    Date d = null;
    try {
    d = formatter.parse(dateStr);
    formatter.setTimeZone(TimeZone.getTimeZone("UTC"));
    catch (Exception e) {
    return d;
    private Geocoder Getuserlocation(String town) {
    String url = MessageFormat.format(GOOGLE_MAPS_URL, town);
    Geocoder geol = null;
    try {
    InputStream instream = new URL(url).openStream();
    BufferedReader reader = new BufferedReader(
    new InputStreamReader(instream));
    String[] s = reader.readLine().split(",");
    geol = new Geocoder();
    geol.x = Double.parseDouble(s[2]);
    geol.y = Double.parseDouble(s[3]);
    } catch (Exception e) {
    return geol;
    private static Map Query(String[] args) {
    Map map = null;
    if(args.length > 0 && args.length <= 2) {
    map = new Map();
    if(args.length == 1) {
    map.town = args[0];
    if(args.length == 2) {
    map.sort = args[1];
    return map;
    who wants to add something and make it better?

  • Loading external div resp. java script resp. google maps resp. php in adobe edge animate

    Hi there,
    I made some nice webpage with adobe edge, and additionaly I would like to implement store finder made with google maps. Any idea how I should do this?
    Here the website:
    http://www.heelbopps.com
    And here the map:
    http://www.heelbopps.com/maps/map.php
    What I intend to to is to make a div between contact and disclaimer and load map.php in this div.
    Here how does the look the file: map.php
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
        <title>Google Maps AJAX + mySQL/PHP Example</title>
        <link href="style.css" rel="stylesheet" type="text/css" />
        <script src="http://maps.googleapis.com/maps/api/js?sensor=false"
                type="text/javascript"></script>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
        <script src="storeLocator.js" type="text/javascript"></script>
              </head>
              <body style="margin:0px; padding: 0px;" onload="load()">
                        <div>
                                  <input type ="text" id="addressInput" size="10"/>
                                  <input type="button" onclick="searchLocations()" value="Suche"/>
                        </div>
                        <div><select id="locationSelect" style="width:100%; visibility: hidden"></select></div>
                        <div id="map" style="width: 100%; height: 80%"></div>
              </body>
    </html>
    How can I implement this code in adobe edge? Please help, because I am clueless, and it has to be done today.
    Many many thanks in advance...
    Stanko

    Dear Stanko, did you get my private message about fixing top menu ?
    Zaxist

  • Google maps have some kind of Java problem, won't load?

    There is some kind of problem with Google maps suddenly not loading. I tried Google's fixes, but it's still bad. They say Skype figures into it, but I don't have Skype. This problem started on mine suddenly yesterday. I start to type a location in the box, and a little yellow "loading" box appears at the top, and then NOTHING HAPPENS.
    Anybody know about this?
    Thanks...

    Thank you for that input. In my little room here, it's hard to tell which wire or cable is what, even tho I installed this stuff a couple years ago. I have Comcast Broadband, which has been real reliable.
    This problem started just yesterday, and I don't THINK it's what you're idea is. I'll wait a while to see what else might happen on this.
    Thank you.

  • Safari 8 hover does not work over google map location pins

    OS X 10.10.1,   Safari 8,  Java 8-25
    I have always had little odd things not work when using safari on a large % of websites I visit,  the latest issues are
    no response when hovering over google map location pins, travel site calendars not opening or responding to mouse, drag and drop
    show the item being dragged several inches away from the actual pointer, some links don't respond, missing items
    or odd layout with print or pop ups going off the screen on some website pages, zooming in and out does not help. I have none
    of these issues when using Firefox or Chrome. Been using Safari for 4 years now.

    Have you tried a PRAM and an SMC reset? They're longshots, but don't take long to try.
    PRAM: http://support.apple.com/kb/HT1379
    SMC: http://support.apple.com/kb/HT3964
    Have you run Apple Diagnostics from the disc(s) that shipped with the computer?
    Since the problem occurs in all browsers, it still sounds like a video hardware or video RAM or maybe a software issue having to do with layers and rendering.
    The map layers aren't getting rendered, or if rendered, aren't getting displayed.
    Do you have any browser add-ins? Pop-up blockers?
    Since you have two video chipsets, it's possible that might be related to the issue.
    This non-Apple website talks about switching between chipsets on the various MacBook models so equipped, and points to a free 'donationware' program for the menubar that lets you easily switch between chipsets:
    http://www.everymac.com/systems/apple/macbook_pro/macbook-pro-unibody-faq/macboo k-pro-unibody-switching-between-graphics-processors.html
    Trying to think of other software that might help pinpoint the problem, does the iPhoto Slideshow 'Shatter' template work? Working properly, it 'shatters' images into several color layers and rotates them in and out to build and deconstruct photos.

  • Google video and google maps?

    do either of these work on ipod touch, i know the iphone has a google maps app.
    but can u just go to www.maps.google.com on the ipod touch and it will work?
    wut about google video?

    Correct, they don't need Java. They are 100% Javascript/images based. Might be some jsp on the server end, but nothing on the user end.
    Now than, Google maps need double click and hover events to work right. Because of the Touch's interface, neither of these events are available. So maps are crippled, at best.
    If you look at the map at http://www.BoyneUSAResorts.com, it is a sample of some linking that does actually function. What you can't do is zoom in, or drag the map. Oh well, small price to pay. And this is why the Google Map app is on the iPhone.

  • New Google maps street view is very slow in FF 31.2.0 on Linux (RHEL 6.3)

    The new google streetview (which does not use Flash) is unusable and renders very slow starting with pixelated images that progressively build. The slowness is not present in FF30.0 on Windows.
    It seems to be an issue in Linux Mint as well: http://forums.linuxmint.com/viewtopic.php?f=47&t=180542
    It seems to be quite common on the google map forums: https://productforums.google.com/forum/#!topic/maps/rWUCllpDDSE
    There seems to be bug open already: https://bugzilla.mozilla.org/show_bug.cgi?id=697443
    But why does FF30.0 on windows work O.K but not FF31.2.0 on Linux?
    * ICA Plugin (Linux) Version 12.1.8.250715 (/opt/Citrix/ICAClient/wfica)
    * Shockwave Flash 11.2 r202
    * The IcedTea-Web Plugin executes Java applets.
    * The Totem 2.28.6 plugin handles video and audio streams.
    * DivX Web Player version 1.4.0.233
    * nspluginwrapper is a cross-platform NPAPI plugin viewer, in particular for linux/i386 plugins.This beta software is available under the terms of the GNU General Public License.
    * This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.
    * Add Block Plus
    * Firebug

    fixed with this method:
    http://bbs.archlinux.org/viewtopic.php?pid=319710

  • I have a problem when using Google Maps, at some point my computer blanks the window and says there's a problem with display drivers, and it has recovered,but it doesn't. Problem doesn't happen with Int Explorrer, so I do not believe it is the computer

    When using google maps through Firefox, after asking for a place which is not the general North America section which routinely comes up, the firefox screen goes white, with a narrow banner at the top. A message appears in the lower right corner which says something about display drivers having had a problem, but now have recovered. However the display doesn't recover and the banner message is that Firefox is not responding. When I go to restart Firefox if I go to the restore point, the page is still frozen out.
    I do not believe it is a problem with my computer because it doesn't happen if I use I.E. to go to google maps, then G-maps works normally.
    This phenomenon did not happen before the latest upgrade to either Google or Firefox. I have used Fiefox for a number of years and also Google Maps on previous computers and on this one, and not had this before.
    This is a relatively young computer (Asus EeSlate 121) less than a year old. I have used Firefox since I bought it and until recently had no problem with Google Maps.

    I solved it myself, after the "note" which came back from FF/Mozilla just as I finished my message, commenting on what it was that my system had , I wnnt back to check my plug-ins etc. I downloaded the latest Java, BOTH 32bit AND 64 bit versions and latest Firefox.
    Now all is working.
    Thanks,
    B.

  • Unable to show Google map in Apex page

    Hi
    I have added the following code from Google's site in an HTML region but map is not showing. It can be simulated in Oracle's Apex site with same result.
    <!DOCTYPE html>
    <html>
    <head>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <style type="text/css">
    html { height: 100% }
    body { height: 100%; margin: 0; padding: 0 }
    #map_canvas { height: 100% }
    </style>
    <script type="text/javascript"
    src="http://maps.googleapis.com/maps/api/js?key=ORIGINAL_KEY_DELETED&sensor=false">
    </script>
    <script type="text/javascript">
    function initialize() {
    var myOptions = {
    center: new google.maps.LatLng(-34.397, 150.644),
    zoom: 8,
    mapTypeId: google.maps.MapTypeId.ROADMAP
    var map = new google.maps.Map(document.getElementById("map_canvas"),
    myOptions);
    </script>
    </head>
    <body onload="initialize()">
    <div id="map_canvas" style="width:100%; height:100%"></div>
    Can you see map?
    </body>
    </html>
    Thanks for help.
    Edited by: movilogo on May 6, 2012 9:18 AM

    Is there a div element with an ID of map_canvas?
    document.getElementById("map_canvas")
    You can download the plugin I created, it has all the code etc:
    http://apex-plugin.com/oracle-apex-plugins/region-plugin/google-directions_55.html

  • Using of google map in oracle forms 10g

    Hello,
    We are on Oracle Forms 10g. We have a requirement of calling a Custom Map application (Like Google Maps) from Oracle Forms 10g.
    We want to show the Employee's Hose location in the form when city,street and state is entered.
    We are using the following PJC
    http://forms.pjc.bean.over-blog.com/article-26335020.html
    But when i run it i do not get anything in GMAP.
    I appreciate if I can get some help for the above requirements.
    Thank you.

    hello sir,
    I am running my form from the form Builder.
    I have copied my jar file into E:\DevsuiteHome_1\forms\Java Folder.
    Updated formsweb.cfg file as
    archive_jini= frmall.jar,frmwebutil.jar,jacob.jar,StaticGMap.jar
    and updated default.env Class path
    I got the following error: on java console
    Oracle JInitiator: Version 1.3.1.30
    Using JRE version 1.3.1.30-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    Proxy Configuration: Manual Configuration
    Proxy:
    Proxy Overrides:
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://polish_dap-2:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/frmwebutil.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jacob.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/JCalendarJinit.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/jcalendar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/AWTFileDialog.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/FileDropper.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/statusbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/lablediconbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/dynamicmenu.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/ComboMenuBar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/StaticGMap.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/personalize.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/progressbar.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/rolloverbutton.jar from JAR cache
    Loading http://polish_dap-2:8889/forms/java/getclientinfo.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

Maybe you are looking for