While I change the base map I can't see other themes????

Hi,
I use mapviewer for rendering maps, which consist of a base map and some additional themes.
I have a set of base maps (entered in the oracle db) and I'm implementing the functionality of changing the base map, but with the condition that the other themes added above the base map should remain.
The problem that I'm facing is that the basemap changes, but I can't see the other themes.
Following is my code:
public void doChangeBaseMap(String newMap)
String[] enabledThemes = mv.getEnabledThemes();
mv.setAllThemesEnabled(false); //temporarily disable all themes
mv.setBaseMapName(newMap);
try{
mv.run();
catch(Exception ex)
System.out.println("error msg (runMap()): "+ ex.getMessage());
//simply re-enable all themes
mv.enableThemes(enabledThemes);
Any help please?
Best Regards
evanelapi
Message was edited by:
[email protected]

Hi,
currently the method run will render the themes again, but it will use some caching based on how the caching is set to the theme. The default mode is caching="normal", in which not necessarily all features are on the cache at the same time. You can also use caching="all" and in this case all features will be loaded into memory, improving the performance for the next requests.
The next version of MapViewer will come up with some nice new features, and you will have the option to cache the basemaps, resulting on a much better performance as it will not render the basemap themes again.
Joao

Similar Messages

  • How do you use Time Machine to restore a specific users account?  I can't do it from the user screen because I am not allowed.  I can't do it from the admin because I can't see other users in Time machine.

    I can't restore my user account from the users screen because I get an alert that Mac OS needs something.  I can't restore in TimaeMachine from the Admin screen because I can't see other users home folders.  What can I do?

    See Pondini's TM FAQs for starters.

  • I have shared folder in the office, sometimes I can't see others. why

    I have macbook pro with leopard and 4 pcs shared in my office network. Funny I can see other computer and printer in my network folder and sometimes I can't see anything at all.
    What is going on? Is there any setup that I need to change?
    Please someone help me.
    It's really annoying
    Thank you so much in advance.

    Hold down the COMMAND key then drag the entry out of the Finder's sidebar until it poofs away.

  • How can I change the default map on journal?

    How can I change the default map on iPhoto journal to the correct one?

    I would advise you to not do that; but, if you do, please read this first and understand:
    http://www.jklstudios.com/misc/osxfonts.html

  • How to change the base UoM in the material master?

    Hi,
    I want to change the base UoM in the material master for a particular material but I can't change irt with MM02 as system says it has open routings for this material.
    I have set the deletion flag on the routings but still system shows open routings while changing UoM.
    Is there any standard SAP program by which UoM can be changed if open POs, stock etc. are present in the system?
    Thanks,
    Input

    HI
    It is possible to change the Base unit of measure in the following cases:
    1) If there are no stocks of the material in the syatem
    2)If there are no purchase requisitions, purchase orders, or scheduling agreements for the material.
    3)If a purchase order or purchase order item is not being created or changed.
    Procedure for changing is:
    Access the material master record in Change mode.
    Overwrite the old base unit of measure with the new one on any departmental data screen.
    Save the change.
    Thanking you.

  • How do I change the default map to one that works. Apple maps nearly killed me today in Leicester as it tried to take me down 2 pedestrian areas, 1 no entry and told me to do a u turn about 6 times at no u turn junctions.

    Need to change default map on iphone. The default maps app is dangerous - it wanted to take me down pedestrian areas and through no entries whilst trying to navigate in Leicester. It needs to be removed from my phone as it is a hazard. I clicked on a link in an email and the maps app was opened and so I used it to navigate. Big mistake. This app is a serious hazard!

    I don't really want to get into a long debate here, but just to put in some background info. I travel a lot in the uk and have done for many years. For the last couple of years I have used either Nav free or waze as sat nav maps on my iphone. Whilst there has been some errors, they have been useable - and of course you have to use your common sense whilst using them.
    On this occasion someone emailed an address to me in Leicester. I wanted to drive from on point in Leicester to this address that has been emailed to me. I clicked on the address in the email and it defaulted to the apple maps and plotted a route. It was about 1 mile away and told me it would take about 8 mins.
    This was the worse journey I have experienced with a 'sat nav' - it tried to take me through 2 pedestrian areas and 1 no entry in that short journey. Clearly I didn't go I. The pedestrian areas or turn into the one way. However, the apple. Aps persisted to try and make me take these route, and I. The process kept urging me to take a u turn where it was clearly sign posted that it was illegal to do so.
    In the end, I pulled over and switched to Waze - it directed me straight to my destination without any errors.
    The point is, I am not talking about a mistake in the middle of no where. This is a major city in the UK - and fairly central ie near the city centre.
    Generally I love Apple products and don't knock them as a company.
    The original question was genuine- can I change the default mapping app so that I don't end up using the apple maps app again. It was a disaster like nothing I have seen before.
    I now know that the answer is no.
    Apple clearly need to sort this out.

  • How do I change the base color  in the recolor Artwork settings?

    How do I change the base color  in the recolor Artwork settings? I know this seems like a silly thing but I really need to figure this out and I have read and gone through the manual and the help forum to no avail. Please help.

    If I have understood you correctly, you want to exclude a certain color from getting affected. You can click on a color row and it becomes highlighted with a border around it - in your artwork, let's say you want the orange color not to get affected. Right-click on it and choose 'Exclude Colors'. When you do that, you will see that the orange color moves to the bottom of the list and there is no arrow in front of it. Like this:

  • No effect after changing the message mapping

    Hi everybody,
    i'm using PI 7.1. After changing the attributes in my message mapping i can no see any effect in my result.
    Should it be a cache problem? Where can i delete the caches?
    regards,
    Sid

    Hi,
    I guess there can be two things.
    before going to the tcode sxi_cache...
    Please go to the IR, Click Environment, Cache Notification and then select author as your id.
    Now see if any are in red status. if so click on the change and click Repeat Cache Notification.
    Now press refresh.
    I guess this will resolve your problem

  • I am creating an aperture book from my photos. How do I change the default map provided in the theme to one of my choice e.g. satellite view?

    I am creating an aperture book from my photos. How do I change the default map provided in the theme to one of my choice e.g. satellite view?

    Kyle,
    Thanks for your response. To be clear, the way I am importing the PDF is by going to New in LiveCycle, and selecting Import a PDF document, and selecting Create and Interactive Form with Fixed Pages.
    I cannot change the forms or pages, as they are created by our local Board. In otherwords, I have tryed used the flowable content, and upon import, not only are the fonts slightly different, but all the important artwork (trade-related) is gone, and is not in the exact positions it was in. The forms must meet the standards to which they were approved by the regional board, and there are state-mandated forms as well.
    What surprises me is that you say this method of Fixed Content isn't used much any more. I would think that a lot of people would have PDF files they would wish to make into fillable, interactive forms without needing to reconstruct the entire document. Perhaps a company that has always done things on paper, and now wishes to use those exact same forms on the computer, with no deviations to looks so they can be printed and match up perfectly.
    I thought about using Acrobat's internal form creation system. However, some of these forms have sophisticated options and the calculation scripts and systems within LiveCycle are very useful. Not to mention that it has a much larger scalability, should we chose to utilize it.
    Any other suggestions? I am so confused why Adobe would force medium-quality import of a PDF, but be so incredibly flexible about every other option in their program.

  • The airport utility does not find my Airport Extreme. I tried to reset the base, but I can`t make it. What can i do?

    The airport utility does not find my Airport Extreme. I tried to reset the base, but I can`t make it. What can i do?

    Please perform a Factory Default Reset exactly as follows:
    Pull the power plug from the back of the AirPort Extreme (AEBS)
    Wait a minute
    Hold in the reset button first and continue to hold it in for at least 7-8 more seconds while you simultaneously plug the power back in to the AEBS
    Release the reset button after the 7-8 second hold period
    Allow 30-45 seconds for the AEBS to restart
    Temporarily, connect a spare Ethernet cable from your Mac to one of the LAN <-> ports on the AEBS
    Open AirPort Utility to see if can now see the AEBS

  • My ipod tells me my apple id password is wrong even though I just changed the password. I can log on via my desktop, but the ipod continues to tell me that the password is incorrect, so I can't update any apps. Help!

    my ipod tells me my apple id password is wrong even though I just changed the password. I can log on via my desktop, but the ipod continues to tell me that the password is incorrect, so I can't update any apps. when I continue to to try to enter the correct password in it finally freezes the account, and I have to go online via my desktop to fix that problem. I have two apple id's because when my ipod crashed I had to reset it completely. I have never had any problems with this before, and it has been a year since I got my second id, which is linked to the ipod. My first id is used for the cloud on the same device. My wife suggested I reset documentson the cloud for the second id, however, when I try to log on the cloud with my current id, it tells me I have to set up the cloud on that device, but it is already done, but with the old id.
    confusing I know. I have been on the 'change your password merry-go-round' all day, and I'm getting dizzy! Help!

    Then contact iTunes:
    Apple - Support - iTunes - Contact Us

  • When I open bookmarks the actual sites sometime do not show just the black screen with the safari icon while others show the actual site how can I see the actual content

    I use Safari Mt Lion and when I view Bookmarks, the entire list of bookmarks show uo but on the display portion only the black screen witht the Safari icon shows while other bookmarks show the actual photo of what that bookmark is so unless I click on the bookmark on the blank ones I can not see what it is, it is inconvient because I have hundreds of bookmarks and I can not remember what I was bookmarking it for unless I can see it

    Hi
    I understand  - sorry to have missed your point before now.
    Some sites don't display those previews in safari - secure pages (https) for one, and also sites that are redirected.
    Taking the example in your screenshot, the site http://fabulouslyartsy.blogspot.com/ actually redirects to http://www.fabulouslyartsy.com/ and Safari (rather annoyingly) doesn't 'follow' the redirection & show the appropriate preview. See the image below - the blank preview is for the blogspot address, and the one visible to the right is from going directly to the site.

  • I want to change my iCloud account. Buying iPad we gave a virtual (forwarding) email addr. We need to change to a real address. But when we try to change the iCloud account, we can only change the password. Note: we don't have Mac, only iPad and Windows.

    I want to change my iCloud account. Buying iPad we gave a virtual (forwarding) email address.
    We need to change to a real address.
    But when we try to change the iCloud account, we can only change the password.
    Note: we don't have a Mac, only an iPad and Windows.

    Welcome to the Apple Community.
    Firstly, you need to change your details with Apple,  Start here, change your country if necessary and go to manage your account.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • My Apple ID has been disabled due to changing the credit card, how can I enable it again?

    My Apple ID has been disabled due to changing the credit card, how can I enable it again?

    you might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on any iOS devices that you have by tapping on your id in Settings > iTunes & App Store (Settings > Store on iOS 5 and below) and then log back in so as to 'refresh' the account on them
    If that doesn't fix it then contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • On my Mac desktop I must have changed a setting so that now when I move the mouse the open windows fly off to the sides and I can't see them. They come back when I move the mouse, but it is so annoying. How can I make the windows not disappear like that?

    On my Mac desktop I must have changed a setting so that now when I move the mouse the open windows fly off to the sides and I can't see them. They come back when I move the mouse, but it is so annoying. How can I make the windows not disappear like that?

    Click on the Hot Corners..  button and look at the four definitions.  In the picture below, if you moved the cursor to the right top of the screen, it would slide all the applications off the screen as you describe and show the desktop.  Set it to "-" to deactivate.

Maybe you are looking for