Oraclemaps.js - Where is it?

Hello everyone,
I have downloaded and installed the latest version of MapViewer and I would like to use OracleMaps and its API to access MapViewer and display maps on web pages.
From what I've read, I'll need to include 'oraclemaps.js' in my page, the problem is that I can't find that file anywhere inside the MapViewer folder (I downloaded the mapviewer10133wls.zip file).
I saw a couple of tutorials where it's said that oraclemaps.js is in this package but it's not. One of them specifies a path: '$OC4J_HOME/j2ee/home/applications/mapviewer/web/fsmc/jslib/oraclemaps.js', however, under the 'web' directory, there is no 'fsmc' directory.
Thanks in advance,
~Ruben Jorge

Hi, Ruben
Try to check this in the *.ear file mapviewer10133wls.zip->mapviewer.ear->web.war->fsmc/jslib
Michael

Similar Messages

  • How do I use OracleMaps Javascript API from a different host than MapViewer

    Hello,
    I have successfully set up the Mapviewer quick start 10131, and am able to view the sample page showMap.html perfectly. I would like to run this same sample on a different server than where Mapviewer is installed. Let say mapviewer is installed on jstraub-winsvr:8888 and I want to run showMap.html from jstraub-linux1:7777. I tried changing the function showMap and the location to oraclemaps like the following:
    <script language="Javascript" src="http://jstraub-winsvr:8888/mapviewer/fsmc/jslib/oraclemaps.js"></script>
    function showMap()
    var baseURL = "http://jstraub-winsvr:8888/mapviewer";
    var mapCenterLon = -122.45;
    var mapCenterLat = 37.6706;
    var mapZoom = 4;
    var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307);
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(mapZoom);
    mapview.display();                
    Now when I try running this page on jstraub-linux1:7777 I get a Javascript error, and in Firebug, I can see that there are request like the following:
    POST: http://jstraub-linux1:7777/mapviewer/ReturnLocaleOper
    GET: http://jstraub-linux1:7777/mapviewer/mcserver?xml_request=%3C?xml+version=%221.0%22+standalone=%22yes%22?%3E%3Cmap_cache_admin_request%3E%3Cget_client_config+map_cache_names=%22mvdemo.demo_map%22+format=%22JSON%22/%3E%3C/map_cache_admin_request%3E
    Obviously those requests are bogus since mapviewer is at jstraub-winsvr:8888 and not jstraub-linux1:7777, I just want to run the page from jstraub-linux1:7777. Anybody know how I do this?
    Regards,
    Jason

    I believe that I am having the same problem. While I don't yet have a resolution, I do have a bit more information that may be useful. I have examined the oraclemaps.js script file and found some relevant references to the Javascript document.location object. As I watch the script execute, it seems that the author has made the assumption that the page served to the user has been served from the same Oracle Application Server running MapViewer. I have listed the lines that contain references to document.location below. (The line numbers may be off by a line or two as I have made some minor changes to facilitate my investigation.)
    Line 742 : //_f16._f104="http://"\+document.location.host\+"/mapviewer/foi";
    Line 6280 : var x2=String(document.location);
    Line 10270 : var x40=String(document.location);
    By changing line 742 to...
    f16.f104="http://mymvserver:8888/mapviewer/foi";
    ...I believe I have the script looking in the right place. (Previously, it had been looking for /mapviewer/foi on the server that originally served the page.)
    The x2 variable (at line 6280) seems to provide the current document location as a means to determine the MapViewer URL. Once again, the author seems to presume that MapViewer is found on the same server that originally served the page.
    this._f53=x2.substring(0,x3\+x5\+2)+"/mapviewer";
    I changed this line to read:
    this._f53="http://mymvserver:8888/mapviewer";
    Having made these changes, I have moved past the "object not found"-types of errors I had been getting. I now get "Permission Denied" errors which, I am thinking, may be the result of cross-site scripting problems predicted by the previous poster.
    So, my question is this: Is it really expected that the page that integrates the map display must be served by the same Oracle Application Server instance on which MapViewer is running? This strikes me as an absurd limitation, so I assume it is not the case. Indeed, there is a post on this forum by another user who claims to have written an ASP.Net application that uses the Javascript interface to integrate MapViewer and the map display ( Link:securing mapviewer ). This is precisely what we are trying to do; but I have yet to determine how to go about doing it.
    Can this be done? Is there any documentation that describes how to accomplish this?

  • Problem with OracleMaps, FOIs and Apex

    Hiho,
    i'm trying to embed OracleMaps into an Apex application, running on XE. There are several blogs pointing out how to do this, but i still have trouble getting FOI to work.
    After setting up Mapviewer, Apache and a basic Apex App i can see my defined basemap in my app. Zooming and panning works fine.
    But when i try to add a theme based foi i cant see the foi images, but only little red x in the place where the images should be (in Firefox).
    This is my javascript setup:
    <script type="text/javascript">
      function show_map() {
        var baseURL  = "http://"+document.location.host+"/mapviewer";
        var mapCenterLon = 2555000.0;
        var mapCenterLat = 5683000.0;
        var mapZoom      = 1;
        var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat);
        var mapview = new MVMapView(document.getElementById("map"),baseURL);     
        var basemap  = new MVBaseMap("DUS.FLUREN");
        mapview.addBaseMapLayer(basemap);
        mapview.setCenter(mpoint);
        mapview.setZoomLevel(mapZoom);
        mapview.setHomeMap(mpoint, 1);
        mapview.addNavigationPanel("WEST");
        // Add a theme-based FOI layer to display customers on the map
        var themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','dus.f011', baseURL);
        themebasedfoi.setMinVisibleZoomLevel(8);
        themebasedfoi.setBringToTopOnMouseOver(true);
        mapview.addThemeBasedFOI(themebasedfoi);
        mapview.display();
    </script>Now when i zoom in until i reach zoomlevel 8, i can see the request for the foi and the server response using FireBug in Firefox:
    {"foiarray":
        {"id":"AAADa5AAEAAADW6AAH","gtype":"7","imgurl":"http://localhost:8888/mapviewer/images/fig/fig2035_10.png?refresh=-3263335750910417913","x":"2554937.017521875","y":"5683130.926478125","width":"18","height":"5"},
        {"id":"AAADa5AAEAAADiDAAG","gtype":"7","imgurl":"http://localhost:8888/mapviewer/images/fig/fig2036_10.png?refresh=1546404312648046166","x":"2554937.017521875","y":"5683130.926478125","width":"18","height":"5"}
      ],"attrnames":null
    }As you can see, the image url is pointing to localhost, which seems wrong to me, since mapviewer and apex are running on a different computer. Shouldn't the image url point to the baseURL?
    How can i resolve this error?
    Thanks for help in advance,
    DIrk

    There is a known bug that might cause the problem that you described.
    You can edit the mapviewer config file and set the foi image URL manually in the <save_images_at> element as follows.
    <save_images_at url="http://myhost:myport/mapviewer/images" />
    Restart mapviewer and see whether it fixes the problem.

  • HP LaserJet Enterprise 500 551dn - where did the drivers go?

    I go to the download page to download the drivers for this 551dn.  I download all windows 7, 8, 8.1, 2008, 2012, so that i can put them on my print server.  I downloaded them from here..
    <http>//h20564.www2.hp.com/hpsc/swd/public/readIndex?sp4ts.oid=5081348&lang=en&lang=en&cc=lamerica_n...
    when i get the file, lets say for windows 7/64bit, i choose...
    HP LaserJet Enterprise 500 color M551 Printer Series PCL6 Print Driver (no Installer) 61.130.04.12834
    24 Sep 2014 21.3
    I get the file downloaded (LJEnt-color-M551-Drv-no-installer_12297.exe), i run it, get the security warning and Run.  the file extracts - then POOF, the installer is gone.
    where did the files go?  They aren't on the root of the C: drive, a folder/files were not created on my desktop, no files or folder created in my downloads folder.
    I was never asked for a file save location.... ???  really?   is this this basic stuff? 
    Where are the files?  this $$$ printer is a brick until i get drivers! 
    Thanks!
    Jason
    UPDATE- I FOUND THE FILES!!
    First of all, HP... i'm not impressed.
    All the files for all the drivers are in a series of temp folders...
    C:\Users\-myusername-\AppData\Local\Temp\3\7zS4A73
    really?
    hope this helps someone. 

    There is no change to this problem after 6 months since the last post. Put simply, and as stated in the previous posts, there is no way to scan a document and receive the image on your PC. If you are working with graphics for any length of time or want to create an image for inclusion as an image in a document or web page using this piece of equipment will not allow you to do so.
    Great shame as every other function works well - it cannot be beyond the wit of HP to include a Windows application that enables you to scan an image, receive it in the software you are using at the time (e.g. Outlook, Word, Photoshop...) and use it in your work.
    HP Printers several years older than this £1000+ Enterprise printer were able to do this simple job and have done so for a great many years. Just being able to use Microsoft's Fax and Scan would be start.

  • What is difference between sy-index and sy-tabix and where both are using ?

    what is difference between sy-index and sy-tabix and where both are using ?

    hi nagaraju
    sy-tabix is in Internal table, current line index. So it can only be used while looping at the internal table.
    sy-index is in Loops, number of current pass. This you can use in other loop statements also (like do-enddo loop, while-endwhile)
    SY-INDEX is a counter for following loops: do...enddo, while..endwhile
    SY-TABIX is a counter for LOOP...ENDLOOP, READ TABLE...
    Here is an example from which you can understand the difference between sy-tabix and sy-index.
    Itab is an internal table with the following data in it.
    id Name
    198 XYZ
    475 ABC
    545 PQR.
    loop at itab where id > 300.
    write :/ itab-id, itab-name , sy-tabix, sy-index.
    endloop.
    My output will be :
    475 ABC 2 1
    545 PQR 3 2
    Sy-tabix is the index of the record in internal table.
    sy-index gives the no of times of loop passes.
    So, for the first record in the output (475 ABC), 2 is the index of the record in internal table and as it is first time loop pass occured, sy-index value is 1.
    Regards,
    navjot
    award points

  • Is null and regular value in where ($variable)

    is there any polibility to create select depend on value in where ?
    select count(x) where y = $variablebut if variable is NULLit doesn't work cause must be IS NULL or IS NOT
    select count(x) where y is $variableIs there any posibility to make it working with null and regular variable?

    try:
    select count(x) from <yourtable> where nvl(y,<not_possible_value>) = nvl($variable,<not_possible_value>);where <not_possible_value> is a value that is not possible for column y.
    E.g. if y always is a positive number you could use the value -1.

  • How do i use my web cam, where do i go to, to get started

    Can't figure out where to go to be able to use my web cam. Its not in my devices and printers area.

    Firstly, uninstall the current version of Cyberlink Youcam and re-install it.
    To Uninstall: Click Start >> type Programs and Features in search and select it from the list >> In there, select Cyberlink Youcam and uninstall it.
    Once done, try using webcam with Skype or any other messenger you may have, or else re-install Youcam.
    If the above does not work, do a System Restore to a previous working date when the webcam worked.
    System Restore: Click Start >> type System Restore in search and select it any perform on-screen instructions to restore the notebook to a previous working date.
    If none of the above work, open Device Manager, check if you have 'HP Webcam' listed under Imaging Devices category.
    You would find the Product Number on the sticker in the battery compartment, will be similar to XT594PA#ABA.

  • HT203167 A movie I purchased in the iTunes store is missing. It isn't hidden and doesn't show up in search. I've followed support steps.  Where is it and how do I find it?  I believe I originally purchased the film on my 1st Gen AppleTV.

    A movie I purchased in the iTunes store is missing. It isn't hidden and doesn't show up in search. I've followed support steps.  Where is it and how do I find it?  I believe I originally purchased the film on my 1st Gen AppleTV...other movies show up. Help.

    It was Love Actually. It's been in my library a few years but is now missing. It's odd...it isn't even in the iTunes Store anymore. I think there is a rights issue because a message appeared in the store saying it wasn't available at this time in the U. S. store. Still, if I bought it years ago it should be in my library or I should get a refund....

  • WHEN I LOGIN AS DIFFERENT USER, IT TAKES ME TO THE SAME PAGE WHERE THE PREV

    Hu Gurus,
    I log in to portal as user1 and go to a page and then log out of the portal. Then I try to login as user2, it takes me to the same page where the previous user was. It looks like it caches the page information. How can I avoid this. Please post a reply if you have some suggestions.
    Thanks
    Raj
    ----------

    Thanks for checking it, Jason. Yes, the cache settings are for 'Every visit to page'. That was the first thing I thought of. I have a feeling the problem has to do with a cache setting somewhere in our installation. For example, I'm still plagued with a few user accounts returning errors when I try to log in. The users aren't logged in, but when I click "Login" from the Portal Builder page, I see the same error...it's not even letting me get to a login screen. Thanks for all the help. It's great to get some feedback. In the meantime, we'll continue to track it down here.
    Mary

  • I have a 2.2 GHz Intel Core i7 macbook pro that has lion installed when I recieved it, according to the support pages AHT is supposed to work over the internet if it wasn't installed, Mine wasn't and it doesn't work. Where can I download it from?

    I Have a 2.2 GHz Intel Core i7 macbook pro, I recieved it with OSx 7.2 lion installed, I need to us AHT (apple hardware test) according to the support page that I copy here
    Additional Information
    Apple Hardware Test is included on the DVDs that are shipped with some Macintosh computers. If the copy on your hard drive becomes unavailable, use the DVDs to run Apple Hardware Test.
    For Intel-based Apple computers that shipped with Mac OS X v10.5.4  or earlier, Apple Hardware Test is located on the Mac OS X Install Disc 1  and should be included with your computer.
    For Apple computers that shipped with Mac OS X v10.5.5 to 10.6.7, Apple Hardware Test is located on the Applications Install  Disc 2 and should be included with your computer.
    For some Apple computers that shipped with OS X Lion, if Apple Hardware Test cannot be found on the hard drive, an Internet-based version starts up instead.
    This doesn't work as the additional information statement says it should above.  Could someone at apple give me an idea of where to get it or what the "REAL" solution is, since it doesn't work on an internet version which was confirmed today at the Genius Bar in the Apple store.
    Please help me

    chrisfrommarion wrote:
    Thanks, while it worked on yours it doesn't work on mine, any other ideas?
    Are you holding down the "d" key, all by itself, just after the system shuts down for a restart?
    And how long did you hold it down?
    I held mine down for about 40-50 seconds. Then I lookat at my routers WAN light and it was flickering so I let up on the d key.
    If that does not work then maybe there is something wrong with your MBP. Is that the reason you want to run this test, something isn't right with your unit?

  • HT5312 I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? th

    I DO remember them but Apple chose to put them in Japanese and I can not change the language on Manage my Apple ID so I do not know if I made an error ,it threw me off , it was the wrong question Where did you fly to on your first Aiplane trip ? then I was unable to enter until 8 hours then called Apple Japan 4 times each time threy asked me would you like to speak with an English speaker,I said yes then they told me sorry today is Sunday no English speakers ,but they refused to speak Japanese, then I called 5th time and a kind guy could speak English we were on 1and 1/2 hours he got me to log in but the reset key chain could not be completed still pending.
    He said do not mess with that ! then I got a text from somewhere to reset 4 pins suddenly it was very strange I said to him that I got this pin this morning but it said you can use maximum 3 hours it had a UK number and I told him I do not like this and will not enter the code he said do not do it if it is from the UK and then I said to him ok you did a lot to help but we can not go any further ! and we cut of I went back to my computer to re do the ID but I found everything a mess so I call and a stupid sounding Japanese women with a squeaky voice came on I was calm at first and they want your phone number your IMEI number your iPhone serial number date of birth Address email address it takes 10 munutes to check then they ask what are you caling about so I try to explain my keychain is broken or problems with language security questions and can not change my pasword because the security question have failed me so it is ONE BIG HEADACHE AND I START I GET STRESSED she says Do want an ENGLISH speaker ,I say yes ,that guy i talked to earlier but I never got his name and first time I ever talked to him but they said he is not here so I said ok and then she said today is sunday so call back in the morning ,I said ,well ok in Japanese but they make you feel stupid because they do not want to speak Jap@anese with none natives and they are to busy,And they feel that I should not bother them ,then I say that Apple Japan is trying to refuse Apple foreign customers and then she wants to hang up and ask me to visit the shop ,but they are the same I have a very bad time with Apple Japan since they do not discuss software problems or security with customer meaning if you have a problem they ask you to come on a time 20 minutes max so they do hardware test and say you phone is fine then I say no I can not reset my ID they say you must call call centre so I am going around in circles ,When I call English it is usually Australia so if my problem is in Japan surely if do not want me to talk to them in Japanese and they ask me to call Australia but every time my call charge is expensive after asking them is this free because I have Apple care they say yes but when the call goes to Australia 0120 277 535 it might change to paid call so I call then I have to ask is this charging they say we can not give you that information ! so what can I do I have have been at the computer and phone all day on my day off work and in tre week I am so busy and can not use my phone I can not work without it ,this new technology for you ,they can not cope with the fact that the customer have problems yet they do not want to deal with us because they can not solve it and so it shows them to be useless they like to walk around in their cool tee shirts and retro shop but when it comes to functionality we are unwelcome they got the money so do not return because apple is perfect that nothing should go wrong .
    But it does somehow my English security answers do not work on a Japanese Question especialy if I did not choose that question I set  up the multiple choice In English and wrote the answers in English or Roman and set them langauge preferences in English, do you really think you can correctly write english name or word in Japanese they write a police patrol car  pato caa パトカア they do not have r and l .So it is my choice to make my security easy for me and as difficult for others to hack.But they also have patororoo choo meaning ' now patrolling ' so why they have pato caa patrol car and patoro patrol and have thousands of Chinese words kanji they can find patrol.
    I am getting off the topic but I am at a loss to fix this problem when they hold the keys and i have all the info to verify my ID.

    You have to enter the Apple ID and password. You are running into the Activation Lock
    iCloud: Find My iPhone Activation Lock in iOS 7
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.

  • I am trying to restore a locked device where password is unknown.

    iTunes goes to restore, iPhone Software Update goes to 18,000  hours remaining, then stops with error 9006.  I have done the same thing on a different device, restore took about 8 minutes, so network connection is fine.
    I've retried this restore on the locked device about 6 times, same result.
    Here is the background.  I manage mobility for my company.  I have an iPhone 5 from a terminated employee that we are trying to reset and redeploy.  We do not know the passcode for the device and cannot contact the terminated employee as the parting was not amicable.
    So, held down power and home keys while device was disconnected, until it shut down.  Held down home key while reconnecting the device.  Window opened in iTunes saying it had detected a device in recovery mode and the device would have to be restored.  Clicked on Restore iPhone, window opened asking if I want to restory the iPhone to factory settings.  I clicked on Restore and Update. iOS 7.1 update opens, accepted license agreement and download begins.  Hours remaining continually counts up until it hits anywhere from 14,000+ to 18,000+ hours remaining, then stops with error message:  "There was a problem downloading the software for the iPhone "iPhone".  An unknown error occurred (9006).  Make sure your network settings are correct and your network connection is active, or try again later."  Then I get the message that iTunes cannot connect to the device because it is locked with a passcode and I need to enter the passcode to proceed.  In other words, back to square one.
    I have my own iPhone 5, so I backed it up and repeated the same steps to restore it to factory settings, took about 8 minutes with no errors, so I know there is no issue with my network connection.
    I need to get this device restored so we can redeploy it.  Any suggestions are much appreciated.

    Yes, you will still get the prompt.
    I meant reset then try the recovery mode restore again.
    You can also try DFU Mode.
    DFU (Device Firmware Update) Mode is different than Recovery Mode.
    DFU Mode is a special mode where the device can still interface with iTunes, yet it does not load the iBoot bootloader.
    DFU Mode:
    Plug your device into your computer.
    Turn off the device.
    Hold the Power button for 3 seconds
    Hold the Home button without releasing the Power button for 10 seconds
    Release the Power Button but keep holding the Home button
    Keep holding the Home button until you are alerted by iTunes saying that it has detected a device in Recovery Mode
          NOTE: Make sure the device screen is blank and no logos are present. Be patient, it make take several trys.

  • Where we have to open and close posting periods in asset accounting

    hi sap gurus
      can anybody give where we have to open and close posting periods in asset accounting
    thank you
    venkatareddy

    Hi Venkatareddy,
    You make specifications for fiscal years and posting periods in the SAP R/3 System in Customizing for Financial Accounting. This is done in the fiscal year variant in the global parameters of the company code. These settings are, in general, also binding for Asset Accounting. The depreciation periods in Asset Accounting then correspond to the posting periods in Financial Accounting.<b> It is usually not necessary to create a separate fiscal year variant for Asset Accounting.</b>
    The period control in the depreciation key determines the start and end of depreciation when asset transactions are posted . The period control determines the relationship between the calendar period in which the asset transaction is posted and the depreciation period.
    These calendar periods are independent of the posting periods in Financial Accounting. The only restriction is that the beginning of the first calendar period and the end of the last calendar period defined in a period control have to match the start date and final date of the fiscal year in Financial Accounting.
    Kindly let me know if this useful for you

  • Why does my safari browser frequently gives me a gray screen? I resetted my safari many times and it doesn't help. Also sometimes when I scroll it gives me this weird scrolling effect where everything is either upside or messed up.

    Why does my safari browser frequently gives me a gray screen? I resetted my safari many times and it doesn't help. Also sometimes when I scroll it gives me this weird scrolling effect where everything is either upside or messed up.

    This article is for startup but it might help.  http://support.apple.com/kb/ts2570

  • XML Publisher Report (where do we store Logos or Pics)

    Hi there,
    Based up on the input parameter(lets say Org_id), i want to choose the company logo and print the report.
    My intention is that i want to print the same report with different logo and send it to different companies. How is it done in XML Pub report and where do we store the company logos or pictures and how do we refer in XML reports ?
    Thanks in advance

    Check this link this may help...
    http://apps2fusion.com/at/77-sidhu/416-bi-publisher-blob-image

Maybe you are looking for

  • Query on Strings

    Hi Guys,              I have a Internal Table which is of type string. After filling My Internal Table has 2 records like below Details(This is Fieldname in my Internal Table) 1.xxx,yyy,zzz,abc,123,456,Etc............., 2.abd,134,Etc.............. Wh

  • How do I get to settings on my mac?

    How do I get to settings on my mac laptop?

  • MIRO  document still is in open status after F.13

    Hi In  MIRO after F.13(Automatic GR/IR A/C Clearing) still MIRO Document is in opened.Please let me know the reason experts regards sachin

  • Losing metadata when adding watermark

    I have a .jpg file that was created in Photoshop. If I import it into Acrobat and save it out, the metadata stays. If I add a watermark to this file, it erases the metadata. Any ideas on why? I am using Acrobat XI Pro on a Macbook Pro running Yosemit

  • K9N Neo V3 and SATA DVD-RW, need help

    Hi all! I've got a K9N Neo V3 mainboard and a Pioneer DVR-215BK DVD-RW (which is a Serial ATA drive). The problem is, when attempting to read any disc (CD or DVD), the drive recognizes it OK - but then hangs the very moment data transfer begins, then