WP8 Map control with custom tiles

I'm trying to display a map control in my app targeting Windows Phone 8 but I want to use custom tiles from open street map.
I'm using this line :
mapControl.TileSources.Add(new TileSource("http://a.tile.openstreetmap.org/{zoomLevel}/{x}/{y}.png"));
When I launch the app the custom tiles are properly displayed, but there's still the default map tiles underneath them.
I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.
I would like to know how I can remove those default tiles when loading custom tiles.
I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.

Hi MakanWG,
You have solved your question in here:
http://stackoverflow.com/questions/27948331/wp8-map-control-with-custom-tiles .
Good!
Vote if help you

Similar Messages

  • Resizing controls with custom skin

    Hi,
    Can someone tell me how to make a spark control with a custom skin made in Catalyst to behave like a standard unskinned control when resized in design view of Flash Builder or during runtime? In other words I want it to behave like it's 9-sliced. For example, I've made a simple and ugly rounded skin for TextInput in Catalyst like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009">
         <fx:Metadata>[HostComponent("spark.components.TextInput")]</fx:Metadata>
         <s:states>
              <s:State name="normal"/>
              <s:State name="disabled"/>
         </s:states>
         <s:Group x="0" y="0">
              <s:Rect height="31" radiusX="5" width="182" x="0.5" y="0.5">
                   <s:stroke>
                        <s:SolidColorStroke caps="none" color="#000000" joints="miter" miterLimit="4" weight="1"/>
                   </s:stroke>
                   <s:fill>
                        <s:SolidColor color="#FF90CD"/>
                   </s:fill>
              </s:Rect>
              <s:RichEditableText color="#2B4381" fontFamily="Arial" fontSize="12" tabStops="S0 S50 S100" x="11" y="11" width="161" heightInLines="1" id="textDisplay"/>
         </s:Group>
    </s:Skin>
    How to do that in this example?
    I have searched everywhere on the net, and in a 1000 page book I have about Flash Builder and Flex and couldn't find even a single example. And I need this if I want to make something like resizable web form with a resize grip or resizable options panel.
    Thanks in advance,
    Petar

    I've got an answer but on other forum. Here is link if someone finds answer to this question useful: http://stackoverflow.com/questions/3299385/resizing-flex-spark-control-with-a-custom-skin

  • Mapping problems with custom characteristics in CCM

    Hello,
    We are on SRM5.0 CCM2.0 and I have created three custom characteristics with related OCI fields. These characteristics have been uploaded in the catalogs and mapped on schema level in supplier catalog and procurement catalog. When uplaoding items into the supplier catalogs the values of the characteristics drop their value during automatic mapping to the master catalog and procurement catalog which means that the fields are also empy during import into SRM. The fields are NOT empty in the suppleir catalog.
    Can anybody help me on this one ?

    Hi Antoinette,
    I have experienced the same. I created a custom characterisitic and uploaded it in the schema of the supplier catalog, master and procurement catalogue. However, once uploading the supplier catalogue the information of the custom characteristic was not mapped.
    In order to solve it I mapped the full schema from the supplier to the master and from to the master to the procurement. That is to say, I mapped from the begginig the schema not only the categories but also the content. Then it worked
    The characteristics are created at the schema level and consequently, unless you map (categories and content) the supplier catalogue from the very top of the schema or the information is not transmitted.
    Hope this helps.
    Kind regards.

  • Access Control with Custom Groups

    I am rather new to APEX. I am trying to implement access control/authorization using custom groups (not the built-in View, Edit, and Administrator groups). I did search the discussion forums and the web in general but so far I have come up empty. I was hoping someone could point me into the right direction as to how to get started. Are there stored procedures that need to be customized/implemented? Where do I store the user groups? Can I use the built-in tables or should I create custom security group tables? Those are just some of the questions I am trying to figure out and any help would be much appreciated.
    And BTW, due to client requirements, we are currently using version 3.2. Not sure if there are any significant changes between that version and the latest version.
    Thank you all!
    Mischa

    Custom authentication is fairly easy to set up with your own tables, here is an example
    http://djmein.blogspot.com.au/2007/07/custom-authentication-authorisation.html
    This leads on to authorisation, again using your own tables. You need to look into using authorization schemes
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/sec_authorization.htm#BABEDFGB
    This can simply be queries on your own group tables, which presumably would control membership by username.
    You ask the question about using built-in tables, yet don't want to the built-in administrator groups?
    Plenty of significant changes, but none that should affect you in regard to authentication/authorisation.
    Scott

  • Can the number format be controlled with custom css styles

    I have a union query where the first query returns a count that I formated as a number '999,999' and the second query returns percentages that I want formatted as '99.9%' I can use conditional formatting to determine which part of the query the result came from but conditional formatting doesn't allow me to control the number format so I was wondering if custom css styles would allow me to control the format. Is converting the number to a character and concatenating a % sign ia better option. I was able to do this using BI Publisher and a different apporach but I want to be able to do it with Answers.

    Make sure the address bar in Contribute is displaying your URL and
    not a file path.
    Your administrator can remedy this by going to the role settings and making sure the Home address is set to the URL.  If you can't get the admin to update the role settings, you can enter your URL into the address bar and then the site should be able to find linked style sheets.

  • User Mapping issue with custom system

    Hello,
    We have an iView that allows user's to store credentials to a back end system. We have created a sytem for this, that stores custom values (not the default user / mappedpassword). The code snippet below is used:
    mappingData = UMFactory.getUserMapping().getUserMappingData(systeme, user);
    Map map = new HashMap();
    map.put(BUSINESS_UNIT, bu);
    map.put(RACF_USERNAME, username);
    map.put(RACF_PASSWORD, passwd);
    mappingData.storeLogonData(map);
    This code has worked fine in both EP6 SP2, and with our migration to NW04 (now up to SPS17). However, when we upgraded to NW04s SPS12, I get the following error:
    Exception: Doug Test - setCredentials: java.io.IOException: com.sap.security.api.UMException: Mapped backend user ID not specified.
    If I add the following line to my code above, it works again:
    map.put("user", username);
    Any ideas on why I need to specify the user field in NW04s when I did not need to previously?
    Thanks in advance for any help.

    Doug,
    the following link might be helpful for working with NW04s UserMappingData object.
    <a href="https://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/umap/IUserMappingData.html">IUserMappingData - NW04S</a>
    Regards,
    Shubhadip

  • Data Mapping problem with Customer Open Item

    Hi,
    I am using the the Direct input method in LSMW for Posting the Open Customer documents. Following are the details:
    Object : 0100
    Method: 0000
    Program name: RFBIBL00.
    I have a problem, the client wants the VBELN(BSID table) also to be posted.I checked the BSID table and the target Structure BBSEG and found the field VBELN missing from the strcuture. I found the field VBEL2 in the structure. Can anybody suggest any field in BBSEG where I can map the VBELN from table BSID.
    Regards,
    Prashant.
    Edited by: Prashant Kumar Upadhyay on Apr 2, 2009 7:06 AM

    >
    max bianchi wrote:
    > Hi
    >
    > That field should be filled as soon as the bill is posted in FI so trx like VF01, VF02 and VF04.
    >
    > The RV_ACCOUNTING_DOCUMENT_CREATE is fm creates the FI invoice from billing.
    >
    > Max
    Hi Max,
    I have just 1 question, If I upload (or Release) Billing Doc for accounting first and then later on Upload the Customer open itm data in BSID , will the VBELN field get updated in db table. Thanks in advance.
    Regards,
    Prashant

  • Navigate pages of tab control with radio buttons

    hi guy,
    i need to navigate 7 pages of a tab control container usings custom buttons. that is, when i click on a button, i takes me to the specific page on the tab control container.
    i think this can be done using radio buttons and tab control container, but i dnt really know how. please any help will be appreciated.
    thanks....

    Hi jiggaharry,
    I think I may have a link that addresses you issue. Do have a look at this link:
    Navigate Tab Control with Custom Buttons:
    http://forums.ni.com/ni/board/message?board.id=300​&message.id=6123
    We have a vast array of data on ni.com for examples and tutorials which could be very helpful in your code development. Do feel free to browse through and use the examples are they are all free of charge
    Hope the link is useful to you.
    Regards,
    Manick | AE | NI ASEAN

  • Windows Phone - Cannot bind custom user controll with listview item source property

    It is Windows Phone 8.1 (runtime)
    I have some problem of binding custom user controll with list of data. I'll make it simple as I can.
    My problem is that somehow if I use DataBind {Binding Something} inside my custom controll it will not work.
    I need to transfer binded data (string) to custom controll.
    It is strange that if I do not use DataBind, it will work normally. Eg MyCustomControllParameter = "some string" (in my example 'BindingTextValue' property)
    Does anyone Know how to bind custom user controll with inside ListView with DataTemplate.
    Assume this:
    XAML Test-Main page
    <Grid  Background="Black">        <ListView x:Name="TestList" Background="#FFEAEAEA">                    <ListView.ItemTemplate>                <DataTemplate>                    <Grid Background="#FF727272">                        <local:TextBoxS BindingTextValue="{Binding Tag, FallbackValue='aSource'}" local:TextBoxS>                    </Grid>                </DataTemplate>            </ListView.ItemTemplate>        </ListView>    </Grid>
    XAML Test-Main page c#
    public sealed partial class MainPage : Page    {        List<TTag> tags = new List<TTag>();        public MainPage()        {            this.InitializeComponent();            this.NavigationCacheMode = NavigationCacheMode.Required;        }        public class TTag        {            public string Tag { get; set; }        }        private void InitializeAppData()        {            TTag tag = new TTag() { Tag = "hello world" };            tags.Add(tag);            tags.Add(tag);            tags.Add(tag);            TestList.ItemsSource = tags;        }             protected override void OnNavigatedTo(NavigationEventArgs e)        {            InitializeAppData();        }           }
    User Control XAML:
      <UserControl    x:Class="CustomControllTest.TextBoxS"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    xmlns:local="using:CustomControllTest"    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"    mc:Ignorable="d"    d:DesignHeight="300"    d:DesignWidth="400">      <Grid x:Name="LayoutRoot" Background="#FF4F4F4F"   >        <RichTextBlock x:Name="MyTestBlock">        </RichTextBlock>    </Grid></UserControl>
    User Control c#
    public TextBoxS()       {            this.InitializeComponent();            LayoutRoot.DataContext = this;        }        public static readonly DependencyProperty BindingTextValueProperty = DependencyProperty.Register(                                         "BindingTextValue",                                         typeof(string),                                         typeof(TextBoxS),                                         new PropertyMetadata(default(string)));        public string BindingTextValue        {            get            {                return GetValue(BindingTextValueProperty) as string;            }            set            {                SetValue(BindingTextValueProperty, value);                //This method adds some custom logic into RichTextBlock, pointed correctly                SetupBox(value);            }        }
    Thanks for helping ;)

    If you use a built-in control rather than your custom control, does binding work? You should verify that first.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Formel Variable - how to fill with Customer Exit from control table

    Hello Experts,
    I have create in BEx-Analyser a formel Variable ZEXRATE1 filled through Customer Exit. In BW I had a "control tabel" with keyfigures.
    In the query definition I have include 0FISCPER, 0FISCVARNT and 0VTYPE. This
    are the keys which should give the values for the selectstatement to select my keyfigure from the "control table" to fill ZEXRATE1.
    If it possible to do with Customer Exit (CMOD -> RSR00001 -> ZXRSRU01) or do I have to implement a Bapi. Perhaps someone can give me a code example.
    Regards Dieter

    Hi,
    Code may look like this
    WHEN 'ZEXRATE1'.
    check i_step = 2.
        LOOP AT I_T_VAR_RANGE INTO L_S_RANGE.
          CASE L_S_RANGE-IOBJNM.
            WHEN 'ZFISCPER'. GV_ZFISCPER = L_S_RANGE-LOW.
            WHEN 'ZFISCVARNT'. GV_ZFISCVARNT =  L_S_RANGE-LOW.
            WHEN 'ZVTYPE'. GV_ZVTYPE =  L_S_RANGE-LOW.
          ENDCASE.
        ENDLOOP.
        SELECT SINGLE RATE into INTO GV_RATE
                  FROM ZTABLE
                  WHERE 0FISCPER = GV_ZFISCPER
                  AND   0FISCVARNT = GV_ZFISCVARNT
                 AND 0VTYPE = GV_ZVTYPE   .
    Assumptions : ZTABLE name of control table
                          ZFISCPER name of variable represents fiscal period
                          'ZFISCVARNT' name of variable representing fiscal year variant 
                          'ZVTYPE'. name of variable representing value type
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • Compiling custom controls with ant

    Need help figuring out which ant task I need to compile custom controls (.jcs files).
    I’ve read several posts about using wlwBuild and workshop.core.Compile but these
    tools don’t satisfy my needs when it comes to automating and integrating anthill,
    cvs, junit… I’m also not so keen on the idea of keeping a .work file synced between
    all developer’s IDEs and the staging/production build machines. I’d really like
    to have a nice clean ide independent ant script build my project. It seems BEA
    somewhat anticipated this when they created genxmlbean to compile XMLBeans and
    JwsCompile for web services, but I have not found a similar ant task that I can
    use to compile projects with custom controls (.jcs files) created in workshop.
    Alternatively if there’s a way in workshop to compile and package an application
    to a production worthy ear that does not include all the extra .workshop ejbs
    used for debugging, that would get me by for now. Any advice would be appreciated.

    Thanks for your advice. Unfortunately, I've been down that path and the generated
    build script uses wlwBuild and the .work file to create the ear, which I'm trying
    to avoid.
    "David Karr" <[email protected]> wrote:
    >
    It may help to know that you can generate an Ant build script from Workshop
    (for
    either a project or application), which when executed from the command
    line, will
    do everything required to build the project or application. You can even
    tell
    Workshop to always use the build script when building the project. You
    can't do
    this for the application, however. You have to go into the project/application
    properties to find this.
    "Ed Barnes" <[email protected]> wrote:
    Need help figuring out which ant task I need to compile custom controls
    (.jcs files).
    I’ve read several posts about using wlwBuild and workshop.core.Compile
    but these
    tools don’t satisfy my needs when it comes to automating and integrating
    anthill,
    cvs, junit… I’m also not so keen on the idea of keeping a .work file
    synced between
    all developer’s IDEs and the staging/production build machines. I’d
    really like
    to have a nice clean ide independent ant script build my project. It
    seems BEA
    somewhat anticipated this when they created genxmlbean to compile XMLBeans
    and
    JwsCompile for web services, but I have not found a similar ant task
    that I can
    use to compile projects with custom controls (.jcs files) created in
    workshop.
    Alternatively if there’s a way in workshop to compile and package an
    application
    to a production worthy ear that does not include all the extra .workshop
    ejbs
    used for debugging, that would get me by for now. Any advice wouldbe
    appreciated.

  • How to select "ISO A" (auto) using Custom Controls with lever assigned to ISO change?

    On 7D Mark II with firmware 1.0.4, I have used Custom Controls to assign ISO change to the lever.  However, it is not possible to change ISO to "ISO A" (auto).  How to select "ISO A" (auto) using Custom Controls with lever assigned to ISO change? 

    Follow Up:
    Ok so ive changed things up a bit and have had some more success.
    I have used a Switch statement in my For loop to perform different actions based on the item selected.
    The code looks like this:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*] .Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[* ].Row4.Cell1");
    for (var i=0; i <= fFrom.length-1; i++) {
         switch (fFrom.item(i).rawValue)
         case "Option 3":
         fTo.item(i).rawValue = "Enter the details in the field below";
         break;
         default:
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
         break;
    This code solves my problem but has thrown up a new issue:
    When i select Option 1 or 2 from the dropdown list  the change in the text field is instantaneous, however if I select Option 3 it wont appear in the text field until I either select Option 3 a second time or select another item. Its as if the text field is a selction behind what I have enterd in the dropdown list.
    Any thoughts?

  • Addition of custom fields in Contract and mapping it with the fields in SRM

    Hi all,
    A custom field should be added to bid invitation in SRM and mapped to a custom( Z field) field which is present on the contract header screen in R/3 backend. Is it possible to map these custom fields. The custom field which is in the backend contract is a mandatory field for creating a contract in the backend. It is not getting filled so the contract is not getting created in the backend. One solution which we thought of was to create a csutom field on bid invitation and pass the value of the custom field to backend by concatenating it to any of the standard field ehich is getting passed to the backend and then splitting the standard field and retrieving the custom field value and restoring the standard field value. If you think of any solution do let me know.
    Regards,
    Asha

    Hi
    Pls refer to the following thread for more details
    Custom fields not display in SRM5.5 Basic Data Frame
    Custom fields not display in SRM5.5 Basic Data Frame
    Hope it helps.
    Pls reward suitable points.
    Regards
    - Atul

  • FBCJ Profit Center Field mapping with customized z-table

    Hi Techies,
    Requirement is that: in FBCJ t-code, the field profit Center will be connected with customized z-table, and while user will input except values of customized table, system will generate error message.

    Hi Krishna,
    This check can be achieved by creating validation using T.Code GGB0. How this can be done can be got from the following links.
    Validations - ERP Financials - SCN Wiki
    Regards,
    Abijith

  • How to Set default value for taxonomywebtagging control with terms and nested terms

    Hi,
    I have created taxonomy control in custom aspx page and I am able to select terms but I am trying to setup default value to that control.
    Can anybody let me know how to set the default value for TaxonomyWebTagging control in custom.aspx page with nested terms?
    Any help would be greatly apprecited.
    Control code in aspx page:
    <td>
    <asp:Label runat="server" ID="lblLanguages">Field A: </asp:Label><asp:Label runat="server" ID="rfvlblLanguages" CssClass="errorMsg" ForeColor="Red">*</asp:Label>
    </td>
    <td>
    <Taxonomy:TaxonomyWebTaggingControl ID="term" Width="385px" runat="server" /></td>Mapping metedata code:TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
    //Set the Business Unit Field
    SPSite site = SPContext.Current.Web.Site;
    TermStore termStore = session.TermStores["Managed Metadata Service"];
    Group group = termStore.Groups["GROUPName"];
    TermSet termSet = group.TermSets["TERMSETNAME"];
    Term term = termSet.Terms["TermA"];
    Guid termGuid = term.Id;
    term.SspId.Add(termStore.Id);
    term.TermSetId.Add(termSet.Id);
    term.AllowFillIn = true;
    term.AnchorId = countryGuid;
    term.IsMulti = true;
    Thank you.
    AA.

    Hi,
    According to your description, you want to set default value for TaxonomyWebTaggingControl.
    I have a test in my environment. It could be achieved by setting the Text Property of TaxonomyWebTaggingControl.
    Here is the code snippet:
    TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
    SPSite site = SPContext.Current.Web.Site;
    TermStore termStore = session.TermStores["Managed Metadata Service"];
    Group group = termStore.Groups["GroupA"];
    TermSet termSet = group.TermSets["A"];
    Term term = termSet.Terms["A1"];
    TaxonomyWebTaggingControl1.SspId.Add(termStore.Id);
    TaxonomyWebTaggingControl1.SSPList = termStore.Id.ToString();
    TaxonomyWebTaggingControl1.TermSetId.Add(termSet.Id);
    TaxonomyWebTaggingControl1.TermSetList = termSet.Id.ToString();
    TaxonomyWebTaggingControl1.AllowFillIn = true;
    TaxonomyWebTaggingControl1.IsAddTerms = true;
    TaxonomyWebTaggingControl1.IsMulti = false;
    TaxonomyWebTaggingControl1.Text = string.Format("{0}|{1}", term.Name, term.Id.ToString());
    Here is a detailed article for your reference:
    http://blog.bugrapostaci.com/2010/09/23/taxonomywebtaggingcontrol-sharepoint/
    Feel free to Reply the test result.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • Basic Dought.. In Integration Repository

    Hi All, Any body Explain me the below topics <b>Integration Scenario & Integration Process</b>       -  Integration Scenarios,       -  Action,       -  Integration Processes, <b>Interface object</b> 1.      message Interfaces 2.      message type 3.

  • How do i store and fetch image from the Database(Access)

    i am facing one problem in inserting the image into the database.the steps i followed as 1)i have created one database(access) as "Image" and into that one table as "Image" and field as "image" type of the field is ole object. 2)i have inserted one i

  • Where to install grub

    Please forgive this simple question but in my search for an answer in wikis and other places, I cannot find a straightforward answer (and part of my worry is related to problems installing in this post, where it seems like when the kernel was updated

  • Phone didn't change for daylight savings

    my droid 4 did not change to daylights savings time last night, and I was very late, and what is up with that?  this has never happened before.  It finally changed at about 10 AM, as I was sending a text.  all settings on the phone are correct for au

  • WiFi keeps dropping after 10.4.7 update! Is this an isolated incident?

    I have no clue what causes this but what I can swear by is that this shlt started happening right after I applied the update. It seems as though when it is in use it is ok but when it is idle it drops connection. I had a black MacBook which was plagu