MapView custom

Hi experts,

I can view a location in map of BB passing param lon and lat, now I want to add an image next to the point on the map. Is this possible to do? We can replace the method of painting somewhere...

Thanks in advance.

With the help of MapField you can do. Look for example MapField comes with JDE.

Tags: BlackBerry Developers

Similar Questions

  • How to show a PIN with a custom on mapview icon?

    I use the following code to add a PIN, the card appears but the PIN does not appear. Tested on a real 10.1 Z10.

    GeoLocation *pin = new GeoLocation(lat, lon, mapview);
    pin->setName("somename");
    pin->setDescription("some description");
    
    Marker marker;
    marker.setIconUri("asset:///images/ic_place.png");
    marker.setIconSize(QSize(64, 64));
    marker.setLocationCoordinate(QPoint(32, 64));
    marker.setCaptionTailCoordinate(QPoint(32, 32));
    pin->setMarker(marker);
    
    mapview->mapData()->add(pin);
    

    Anyone get it working? Thank you

    UIToolkitSupport::absolutePathFromUrl(QUrl("asset:///images/ic_place.png"))

  • How to receive events touch of legend in mapview bubble?

    Hello developers,
    I have been woking on a map-based application. I want to see the PIN to some place on click and click a pin it there otherwise pop up on available in OS bb10 and can also add our user interface customized for the legend label. I saw an example of custom mapview http://blackberry.github.io/Cascades-Samples/custommapview.html in which they created a container separated and shown that the container during the click on pin.but that the container is not ' receive events.so touch how should I get the Touch touch events? pls help developer friends...

    Thank you

    I just tested and the onTouch Manager works perfectly.

    I added the following code in the main container of the bubble component to change the color of the label (you will need to add the > string in the Label component to test).

        onTouch: {
            label.textStyle.color = Color.Red;
        }
    
  • An overload of the Menu in Mapview elements

    (1) I am trying to add my custom menus to the MapView menu list and unable to do so.

    (2) and is it possible to push Mapview on-screen Manager.

    Say pushScreen (MapView instance)

    Can someone help me with these questions please.

    You call using MapView BlackBerry Maps.  You can add your own menu item in BlackBerry Maps.  See the link below for an example.

    Add a custom BlackBerry application menu item

    http://supportforums.BlackBerry.com/T5/Java-development/add-a-custom-menu-item-to-an-existing-BlackB...

    You are not able to remove items from menu to RIM applications.

  • Bubble Popup MapView

    Hello

    Simple question to which I can't find the answer to: how to customize the MapView popup that appears when a PIN is selected?

    I wish I could remove the pop-up button.  I saw the example Custom MapView but that seems to be using an overlay of containers.  I prefer to do it through the card, but have not been able to find a way to do so far.

    Is that bubble accessible to the subclass and replace?

    Thank you

    There is not a lot of customizations on the bubble now, but fortunately, you can remove the button. Please see:

    https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__maps__mapview.html?f=mapvie...

    But this applies to all the bubbles on the same plane.

    Shadid

  • MapViewer tool of Distance in miles, not kilometers

    Hey,.
    Ive installed OBIEE 11 g on a windows xp and everything works with mapviewer.
    However, the tool distance is in miles and the customer wants in kilometers is there a way to do it?

    Thanks in advance,
    Baal

    Do you mean scale that appears in a map obiee view? The ladder must display the miles and km.

    Or are you using the cards from the oracle (javascript) API? If yes then specify MVDistanceTool.METRIC as units in the MVDistanceTool (unit, foiServer) method when you create an instance of distance tool.

  • Create a tile layer MapViewer

    Hello

    We use MapViewer 11 g for the customer's application. We have received a set of tiles image they would like to use as a background for their cards. These are in the format Z/X/Y.png, where Z is the zoom level and by using a spherical mercator projection. I understand that it is the same used by Google Maps to the tiles?

    To display these tiles as the background, in MapViewer stayed initially with these possible approaches:

    1. configure MapViewer to use the tiles directly from the file system.
    2. load the tiles in a database table, with the appropriate geometry to identify and configure MapViewer to use.
    3 write a wrapper WMS to present the tiles and configure MapViewer to use the WMS.

    We know not if (1) or (2) are not possible. We used MapViewer to display a WMS, so we know (3) is feasible, but there seems to be a lot of work, if there is a better way.

    We will be very grateful to hear everyone the experience of making the same kind of thing, or suggestions on any of these approaches.

    Thank you very much
    Mike

    Use an external card Tiler in this case and write an adapter
    See map of external source the map in http://download.oracle.com/docs/cd/E16340_01/web.1111/e10145/vis_omaps.htm.

  • enableThemes method not found in the oracle.lbs.mapclient.MapViewer class

    Hello
    I would ask about the error I recently.
    I don't know what's wrong with my code, but I '_enableThemes_ method not found in the class oracle.lbs.mapclient.MapViewer' when I tried to apply a theme to my card using the API of Java Bean.

    Another method does not recognize mapviewer is '_setAllThemesEnabled_ '.

    I don't know how to apply some themes I did for my card despite the use of the method.
    I have already imported oracle.lbs.mapclient.MapViewer.

    -----
    Here are my codes:

    < % @ page import = "java.util.Enumeration" % > "
    < % @ page import = "java.awt.geom.Point2D" % > "
    < % @ page import = "java.awt.Dimension" % > "
    < % @ page import = "oracle.lbs.mapclient.MapViewer" % > "
    < % @ page import = "oracle.lbs.mapclient.ScaleBarDef" % > "

    String mvURL = request.getParameter ("mvurl");
    mvURL = "http://localhost: 8888/mapviewer/omserver";

    MapViewer mv = session.getAttribute("gvis_mvhandle") (MapViewer);

    Boolean newSession = false;

    if(MV==null)
    {
    create a new ID customer mapviewer
    MV = new MapViewer (mvURL);
    mv.setImageFormat (MapViewer.FORMAT_PNG_URL);
    mv.setMapTitle("");
    session.setAttribute ("gvis_mvhandle", mv); keep the handle of the client in the session
    newSession = true;
    }

    mv.setDataSourceName ("mvdemo");

    String = "#000000" stroke1, fill1 = null, tr1 = null, labelc1 = null, asis1;

    int opacity1 = 128;

    String style1 = "gvis_" + ("NONE".equals (stroke1)? ". (': stroke1) + "_" +.
    ("NONE".equals (fill1)?" (': fill1) +.
    ((opacity1>0)?) » 128" : « ») ;

    String query1_ = "select * from counties;

    mv.addJDBCTheme ("peta", "theme1", query1_, null, null,
    Style1, labelc1, '_gvis_style_text_', true);

    mv.enableThemes ("THEMENAME");

    try {}
    mv.setFullExtent ();
    MV. Run();
    } catch (Exception e) {out.println (e.getMessage ()) ;}}

    String url = mv.getGeneratedMapImageURL ();

    -----


    I really appreciate your help...

    Hello
    Make sure that you type the correct setting. EnableThemes method requires an array of strings. Try the following:

    mv.enableThemes (new String() {"THEMENAME"});

  • Similar to the enableInfoWindowForMouseOver() custom InfoWindow actions

    I will create custom InfoWindow when mouse over FAITH using the method of displayInfoWindow() of MVMapView. But I have a few drawbacks. The custom InfoWindow remains on the screen when the mouse pointer leaves the boundaries of FAITH. Then I have to press the close button but card generate a mouse over the event because the cursor on the FAITH and InfoWindow appear once more. But enableInfoWindowForMouseOver() MVThemeBasedFOI() method did not have this defect. How can I create this functionality in my case?

    You must use the MOUSE_OUT event to clear the Info window automatically when the mouse leaves the FAITH. For example:

        theme.attachEventListener(MVEvent.MOUSE_OVER, foiMouseOverEvent);
        theme.attachEventListener(MVEvent.MOUSE_OUT, foiMouseOutEvent);
    

    and

    function foiMouseOverEvent (loc, foi)
    {
      displayInfoWindow(loc, foi)    // Display my customized info window
    }
    function foiMouseOutEvent (loc, foi)
    {
      mapview.removeInfoWindow()  // Remove my custom info window
    }
    
  • Poor - and not yet no answer customer service!

    Hello!

    My apologies for the weird subject but heading I really wanted to attract someone's attention because at the present time (a guy called Paul online support side) nobody came back to me at all about my recent visit to your store from Covent Garden and the very disappointing time there.

    In short if your management team he has just done what they said they'd do and return my call to discuss things further as a guy named will be very kindly suggested I do we would not be here!

    This email comes from me trying to talk to a member of the management team after my visit to Covent Garden on September 22 and the feedback left by me after my experience so far here.

    Will me has called and left a message on 30 September by inviting me to remember to discuss also I have does - no call back. So I didn't call back the next day - no call back and the next day still no call. We are now on day 5 and after talking to someone in the store who very frankly really seemed to not want to be there and really seemed not the least bit interested to help me at all I'm resigned now pretty much on the fact that I get not this call and will not in fact also discuss how some members of staff there myself and the day my wife turning what was supposed to be one of the highlights of our stay in London in one of the low points.

    I talked to a representative of the online customer service which was fantastic, although itself also agreed that realistic, my chances are slim to a call back that he was however able to seize a member of the business team that supposedly spent on the information of countless previous officials do not have in the hope of a return call We'll see if it succeeded or not - I doubt that very much.

    So I'll now emailing this email to all the world that I can at Apple, to raise awareness on the fact that your ship called the flag shop in London (while the street regent is under renovation) has not only some very few poor staffing but also issues clearly a massive communication issues. I have to wonder how the store works effectively in this management, I myself am a branch manager and would like to know of all these questions should they arise and also to know the importance of the Dodge don't no calls - or even potentially conflicting ones. Clearly here, it is not the case, and as such I have to say that I will never to set foot in this store again.

    You do not discuss Apple here. This is a user to user support site, and your long message falls on deaf ears. To inform Apple that you are disappointed by something, use their site here, http://www.apple.com/feedback comments

  • Will add custom wallpapers slows my iPhone?

    I'm willing to change the wallpaper on my iPhone SE to the default. Like all the default screen phone, we lost during the update I have to download it manually.

    My question is, will this effect to the performance of the phone?

    I use backgrounds custom throughout my iPhones for a long time and never noticed any performance impact. You should be OK to use a background customized without worrying about losing on processing power.

  • I'm recently back from Berlin where I accidentally left my iPhone 6. My friend tried to send it to me; However, he was returned by customs. Need advice on getting my iPhone 6 sent from Berlin to California.

    I'm recently back from Berlin where I accidentally left my iPhone 6. My friend tried to send it to me; However, he was returned by customs. Need advice on getting my iPhone of Berlin has been sent to California.

    You'll have to talk to the German customs and find out what their requirements are to send an iPhone.

  • custom ring tone does not work

    After the update this morning I hope this question was correct.

    I use a custom for some people to know how ringtone call by ringing. But nothing changes.

    It does not work.

    Nobody knows or has heard of this problem?

    Thank you

    Try these general steps. They could help.

    1 reset your iPhone by pressing and holding the sleep/wake and home buttons.

    2 disconnect you from your iCloud account and reconnect again.

  • News about the resolution of a bug in the custom IOS 10.0.1 ringtones

    I'm having a problem with IOS 10.0.1 and my IPhone 6 64 GB. Custom ringtones work anymore... I would like to know how many time usually needed to solve this kind of bug... Anyone know any news about this?

    What about custom ringtones does not work? Are you talking about ringtones purchased from iTunes, or ringtones you created yourself? I have a long list of self-made custom ringtones on my 6 iPhone with iOS 10, and they work fine. Have what troubleshooting you tried?

  • Custom iOS 10 lyrics

    Hi, I was wondering if anyone had any problems with their custom iOS Apple music 10 words?

    My words appear more like coding the way they appear on iTunes, I like to remove my words and just use those of Apple's music, but every time I have to remove my custom words and uncheck the box they reappear.

    Anyone can shed some light on this?

    Very much appreciated.

    I just want to say that, as soon as the upgrade to iOS 10 I face a similar question. Not all of my custom words show in my iPhone, only very few of them. Even though I can access/view of all those on my iTunes. Some people suggested using app "get lyrical".

Maybe you are looking for

  • Overclocking failed! Error message in the BIOS

    I'm in trouble, I think you can help me When I turn on my pc in the BIOS screen, it says "Overclocking failed! Press F1 to enter SETUP or F2 to continue.Power surge has failed! » After pressing F2 it boot but sometimes when I restart the pc, it does

  • What is the use of the file winsxS\Policies if we can rename or delete arbitrary?

    The solution proposed by Snave_Nivek for a NET problem was: Rename %windir%\winsxS\Policies (or remove) and then reinstall .NET. Which will not affect other programs? What is the use of the file winsxS\Policies if we can rename or delete arbitrary?

  • VPN constantly lose connection

    We have two RV082 routers and VPN set up between them (gateway-to-gateway).  Since the upgrade the firmware to 2.0.0.19 - tm (on both routers), it seems that most of the time that I have to disconnect and reconnect to the VPN connections for work aga

  • TROUBLE WITH DRIVER-AMD Turion64-network adopter-wan miniport - SAYS DEVICE NOT WORKING and when updating (CODE31) comes__

    version of the file is 6.0.6002.18005(h_sp2rtm.090410-1830)Manufacturer: Microsoft CorporationDestination-c:system32/drivers/russstp.sysPlese solve the problem.

  • SQL exprss

    I am trying to download this program and I'm coming to the point where it says if the download does not start within 30 seconds, click here.  He never starts and I click there and it brings me back to try again.  I've been around this circle several