Map Control Problem

Hello all,
I'm working on a project where maps in windows 8 store app is involved. Here's what happens with me:
on app start after the main page is loaded I add a map control. After that I get some data from a server using HTTPClient and put the retrieved data in a list. Then I project the list data on the map as markers.
The thing that happens is that I'm setting the zoom level & the map center values when doing so but, the map doesn't zoom or center as needed. I think that this operation is interrupted resulting to this unwanted behavior. So, any idea ??
Thanks in advance

Hi Motasim,
Which map control are you using, Bing map or some third party map controls? If you are using Bing maps I can help move to the correct forum for you otherwise you probably need ask at the map forum for a better support :)
Thanks for your understanding,
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • WPF Map Control Throws NullReferenceException

    This is a weird problem.  The exception only happens if I have a break point in my project that is hit before the project is fully loaded (before the window appears on the screen).  Not every break point causes the exception.  I have not been
    able to pinpoint what particular break points do and do not cause it.  I think it might be break points that are hit before some event happens on the UserControl that is hosting the map control but if that is the case I am not sure what event that might
    be.  If you remove the break point the application works fine.  Break points that are hit later in the application do not cause a problem.
    Here is a copy of the exception:
    System.NullReferenceException was unhandled
      HResult=-2147467261
      Message=Object reference not set to an instance of an object.
      Source=Microsoft.Maps.MapControl.WPF
      StackTrace:
           at Microsoft.Maps.MapControl.WPF.MapCore.AnimateViewUsingZoomAndPan(Double zoomLevel, Point centerNormalizedMercator)
           at Microsoft.Maps.MapControl.WPF.MapCore.SetViewInternal(Point centerNormalizedMercator, Double zoomLevel, Double heading)
           at Microsoft.Maps.MapControl.WPF.MapCore.SetView(LocationRect boundingRectangle)
           at GeoservicesControls.Views.GeofencingView.<>c__DisplayClass8.<ViewModelChangedCallback>b__0(LocationRect x) in d:\SoftwareDevelopment\AccessibleSolutions\GeoservicesControl\Source\GeoservicesControls\Views\GeofencingView.xaml.cs:line
    121
           at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)
           at System.Reactive.Concurrency.ObserveOn`1.ObserveOnSink.OnNextPosted(Object value)
           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
           at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
           at System.Windows.Threading.DispatcherOperation.InvokeImpl()
           at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Windows.Threading.DispatcherOperation.Invoke()
           at System.Windows.Threading.Dispatcher.ProcessQueue()
           at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
           at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
           at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
           at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
           at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
           at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
           at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
           at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
           at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
           at System.Windows.Application.RunInternal(Window window)
           at System.Windows.Application.Run()
           at GeoservicesControl.Shell.Wpf.App.Main() in d:\SoftwareDevelopment\AccessibleSolutions\GeoservicesControl\Source\GeoservicesControl.Shell.Wpf\obj\Debug\App.g.cs:line 50
           at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
           at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException: 

    The error message indicates that the error was thrown from the GeofencingView.xaml.cs file around line 121. Can you provide the code that you have in that area and the values being used.
    http://rbrundritt.wordpress.com

  • Street numbers in WPF Bing map control

    Hello.
    I have a problem with map control. I can`t find information about how to display street (building) numbers like in Bing maps on the off site (
    http://bing.com/maps)
    Can you help me?

    The Bing Maps consumer site (bing.com/maps) has a number of features which are not available in the development API yet. A lot of newer features get testd on the consumer site before being rolled out to the API. If you monitor the traffic from the consumer
    site you will notice that it is calling a completely different tile set than the API's. At the moment street numbers are not in the API, but they may be in a future release.
    http://rbrundritt.wordpress.com

  • My I phone 4 have volume control problem did anybody know how to fix

    My I phone 4 have volume control problem did anybody know how to fix thankyou

    Try force closing the Photos and Maps apps, then resetting your phone:  double-tap the home button, locate Photos in the list at the bottom, tap and hold it until it wiggles, tap to close it.  Now locate Maps and tap to close it as well, finish by tapping the home button.  Now reset your phone: hold the on/off and home buttons until your see the Apple logo (ignoring the off slider that appears first), then release.  See if that clears things up.

  • 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

  • User Account Control Problems with Premier Elements 7 32 bit in 64 Bit Windows 7

    I found User Account Control Problems in other forums but didn't see much in Premiere Elements, so I hope this helps others who may be having problems with 32 bit programs in a 64 bit computor. When I first got my 64 bit I didn't have problems.
    Back in February I bought a Quad Core Desktop with Windows 7 64 bit. Haven't been on the forum for 7 months since I wrote in regarding importing video with the Pyro AV Link (Premiere Elements Tips and Tricks). I was having problems importing video which started after March 28 sometime, as that was the last time I didn't have a problem importing VHS. Took me a few months off and on to find out what worked.
    I started uninstalling Windows updates and any programs I had installed back to that point in time. Checked after uninstalling each item. The capture screen would come up on a delayed basis but clicking on capture did nothing. Although no driver is required for IE1394 (so they say) I read where some people using the Legacy driver had fixed some problems, so I switched to the Legacy. Seemed to work great (for a few minutes).
    I had even uninstalled and reinstalled PE7 but no difference. Finally I noticed a shield in the PE7 Desktop icon. Thats weird. Never had that before. Just decided to show up after I had done all of the stuff I mentioned. Turns out at some point in time since I've had the computor Windows 7 decided to flag my 32 bit program as misusing the 64 bit system. User Account Control. I never bothered too much with UAC and just clicked on the yes box wen it popped up asking if I wanted this or that to take control of my computor. I tried using the minimum setting for safety reasons, and then finally turned User Account Control off. Bingo! PE7 capture works again and still working.
    While I am not recommending that people arbitrarily turn UAC off, this appeared to be my problem. I would recommed that they try turning it off before uninstallin a bunch of stuff. Having a restore point may or may not have been a fix for me. I think one of the Windows Updates caused the problem but I am not going to uninstall any more stuff at this point, I have not been back on the internet or installed any more updates in my desktop. I am going to use my laptop for internet and used the desktop for video.
    I am guessing this could be a problem for any 64 bit systems trying to use 32 bit programs. IE: XP,Vista,Windows 7 64 bit. In Vista there is also Data Execution Prevention (DEP) which you can turn on or off, supposedly to prevent misuse of memory (as I understand it), but Win7 either doesn't have it or I haven't found where it's located.
    Maybe this has been covered in the forum somewhere and I missed reading it. Hope I am not too confusing. Anyway, whatever feedback you guys have would be great.  

    John,
        Thanks for your answer, and I did check out the link you suggested. However, I have Windows 7 Home Premium as most people have I think, and the XP program was not available. I started with Vista and now have Win 7. I never could navigate around in XP anyway so am content to just leave User Account Control off.
        Interesting side note to turning UAC off is that my desktop seemed to be using more of the CPUs, where half of them were "Parked" as I wrote in also about 7 months ago when I 1st got my desktop. I am pleased to say that video processing seems to go quicker with UAC off. Have to observe things some more to confirm.
        I just thought if others were having problems after installing Windows Updates and leaving UAC off worked then they could possibly pinpoint a problem.

  • Control problem

    I create a swf by Flash locally which point to a flv in a
    remote flash media server, FLVplayback component included, it work
    fine locally. Uploaded to FMS3, played without the control problem,
    such as Play/Pause, seek bar.
    Is it something I need to configure in FMS, or in Flash.
    Please advice.
    Thanks!

    Between version 1.0 and 2.0 the API in the JBCL controls has
    changed. We are actually moving away from JBCL completely (please
    do send feedback if you have a comment on that) to a Swing and
    Infobus standard based library of visual JavaBeans.
    You will still be able to use the JBCL controls in JDeveloper
    2.0. The best thing to do is to take your 1.x based application
    AND the 1.x based JBCL.ZIP file into your new environment. This
    way you will be able to continue to use these apps and
    components. Taking the 1.x JBCL.ZIP file will make sure you have
    the same version of the JBCL library that you were used to in
    version 1.x.
    Hope this help,
    -Roel.
    Hans Duijn (guest) wrote:
    : Hi,
    : I developed an applet in v1 that worked fine. I tried to
    rebuild
    : the applet in v2 but some problems occured. One, The
    : ChoiceControl populated with the method
    : 'ChoiceControl1.setItems' but in v2, this does not work till a
    : explicitly called 'queryDataset.open'. Is the way to do it or
    do
    : I have to use special properties for the
    dataset...and...second,
    : I'm using an listControl that, in response to a selected item
    in
    : the ChoiceControl, changes frequently. No new list appears till
    : I update the applet the hard way (hide it and bring it to
    front)
    : or click the mouse on the hidden items. 'listControl.repaint()'
    : has no result. Am I doing something wrong? It worked in v1...
    : and third...when can we expect the final version 2?
    : Thanx.
    null

  • Mapping Control record?

    Hi all,
    iam doing File to idoc Senario and i need to map control record,How to map the control record.
    regards,
    phani

    Hi Venkatraman,
    if you want to control sender (and receiver) of an IDoc message by mapping, check "Take sender from payload" (and "Take receiver from payload") on. Map the fields of EDI_DC40:
    for the sender:
    SNDPRN (Sender Partner Name)
    SNDPRT (Sender Partner Type)
    and the receiver:
    RCVPRN (Receiver Partner Name)
    RCVPRT  (Receiver Partner Type)
    RCVPOR (Receiver Port)
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm">Configuring the Receiver IDoc Adapter</a>
    Regards,
    Udo

  • How to copy FDM setting (import format, dimension mapping, control table)

    Dear All,
    How to copy FDM setting (import format, dimension mapping, control table) from application to another application.
    I found that only dimension mapping can be imported. Is there any way to copy FDM application quickly?
    Thanks your help

    If you get a chance try the following script, it's so simple and easy to extract all the map data to XML and will help in to import back through Import script.
    Sub MapExtractor()
    'UpStream WebLink Custom Script:
    'Created By:      SatyaK
    'Date Created:      12/08/09
    'Purpose: This Script will produce a Account Map File for
    '                         the current location.
    'Execute the export
    strFilePath = API.IntBlockMgr.InterfaceMgr.fExportMapToXML("File Path", PPOVPeriod)
    End Sub
    -------------

  • Can I use the new Bing Maps control released in Feb 2015 in my windows store app?

    Can I use the new Bing Maps control released in Feb 2015 in my windows store app?  If not, will there be a release of the store app version that has all or most of the updates that are in the new map control for WPF/Silverlight?

    The FEB 2015 release was for the WPF map control which is for desktop only. There is an existing Bing Maps SDK for Windows Store apps which has a lot more functionality than the WPF map control already. You can find this SDK here:
    https://visualstudiogallery.msdn.microsoft.com/224eb93a-ebc4-46ba-9be7-90ee777ad9e1
    You can find documentation this SDK here:
    https://msdn.microsoft.com/en-us/library/hh846481.aspx
    Also, I have written a free ebook on this SDK here:
    https://rbrundritt.wordpress.com/my-book/
    You can also find lots of code samples here:
    https://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=Topic&f%5B0%5D.Value=Bing%20Maps&f%5B1%5D.Type=Platform&f%5B1%5D.Value=Windows%20RT&f%5B1%5D.Text=Windows%20Store%20apps
    You can also find a bunch of blog posts on this control on the Bing Maps blog. Here is a filtered list of blogs for Windows Store Apps:
    http://blogs.bing.com/maps/tag/windows-store-app/
    http://rbrundritt.wordpress.com

  • ActiveX for Microsoft MAPI Control

    I want to use Microsoft MAPI Control to send mail.

    You need 2 controls :
    - MAPISession1
    - MAPIMessages1
    Call:
    - MAPISession1.SignOn
    - MAPIMessages1
    .MsgIndex = -1
    .RecipDisplayName = "SendTo"
    .MsgSubject = "Subject"
    .MsgNoteText = "Message"
    .SessionID = MAPISession1.SessionID
    .Send
    - MAPISession1.SignOff
    Hope this helps

  • MEGA 865 fan control problems after suspend/hibernate.

    I'm seeing the CPU fan control problems, and it's REALLY ANNOYING, as it means I have to leave the machine on all the time. Specifically, after suspending or hibernating the machine, on wakeup the CPU fan goes to full speed and STAYS THERE until I reboot.
    This is on a CLEAN INSTALL of Windows XP.
    Is there going to be a fix for this from MSI soon? Because it's really ruining the experience of using the MEGA.

    Hi guys,
    I have builded a Mega 651 attaching a Celeron 2.4 Ghz.
    I installed the cooler but I got really scared when I realised that the fan run for 2 secs and then stopped.
    Is this normal?
    If yes then i am assuming that the voltage of the fan is controlled by a thermal sensor, meaning that the fan goes on when the temperature reaches a certain limit.
    Can the threshold temperature be controlled from bios so I can set it to minimum possible?
    thanks in advance

  • Installing ios8.2 does not resolve Google map navigation problem or gps tracking!

    Installing ios 8.2 does not resolve Google map navigation problem.

    I have tried to install both of them lots of times but in each case I receive the same in my XE.bat file:
    Instance created.
    DIM-00019: create service error
    O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
    Have checked OS 1387 error at Microsoft Support and as possible cause of the problem they give as follows:
    This issue can occur if the environment has a disjointed namespace (i.e. the domain has different NetBIOS and DNS names). For example, assume that the domain has a NetBIOS name of "domain.com" and a DNS name of "domain-old.com." When users are added in the Windows UI, they are displayed in the format of domain\ComputerName. However, you notice in the error log that there was an attempt to add a computer account in the format of domain-old\ComputerName. (System Center 2012 R2 Data Protection Manager install fails and generates ID: 4323: "A member could not be added")
    Tried to find out my DNS name, but it is impossible because I don't have any domain installed and my machine is not connected to it. Some other blog (Install Oracle 11gR2 on Windows) advices to work with adding my computer account to some non-real windows domain (just for the purpose of resolving the network) as well and reinstall the database then. If I undestand it right I need minimum 2 machines for this. But I own just one, where the server is based and thought that is enough to run the database... no idea ..

  • Topic : Alesis Master Control Problem (to previous post unanswered fixed)

    Topic : Alesis Master Control Problem to the original post user: Garrud
    Me:111984cz i have an answer to ur problem.i too had the same problem with cubase 5 ,Nuendo 4 and any of Steinberg softwares with the alesis master-control studio interface. i hope u run into this to learn my fix.
    the problem is check ur midi input on your actual track.make sure it says to (master-control midi port) and not (all midi inputs).as for your device manager settings set to (master-control port) don't set your midi to all or master control port as it will interfere .now it will work perfect.this is for all who have the same problem as well.hope this helps many as i spend a lot of hours of trouble shooting.i almost thought there was something wrong with my mixer.have a great day guys!!
    Original post:
    I've installed the MasterControl driver as instructed and followed the logic set up instructions provided with the MC and all that seems to happen is the Controller acts as a midi keyboard playing different notes rather than the intended function.
    e.g if i touch one of the faders it plays a high pitched note and if i move the fader it acts like the note is being pitched, like a pitch bend function on a keyboard.
    Very strange...cannot figure out whats going on
    PLEASE HELP I'M GOING INSANE
    MacBook Pro Mac OS X (10.6.4)

    I too had the same problem and resolved it.
    However, I have had nothing but issues with the Alesis Mastercontrol since it arrived last week. I purchased mine second-hand as a replacement to a Fire-Wire / Analogue mixer made by Mackie (Onyx 1220). A fantastic amp, but not a control surface.
    I decided I wanted an all rounder, plus something I could place in-front of my iMac so I could work on the fly.
    So...
    1) Alesis Mastercontrol
    2) 1 x Rode microphone in Ch1
    3) 1 x Rode microphone in Ch2
    4) Peavey guitar in Ch3
    I use Logic Studio Pro 8.
    I finally figured out how to get the Alesis to behave and interact with Logic. So far so good!
    I then ran into a series of issues that are frustrating me.
    I cannot get the microphones to mute properly (I would also complain about the poorly position gain dials at the back of the unit for the microphones. So poor indeed that I have purchased an Art mic preamp to slap into the back (not arrived yet) and by-pass the rear controls).
    I also cannot get my semi-acoustic Peavey to record at all. I can hear it through the control desk, but it is much lower than expected and I am getting nothing when I try to record). In record mode the pair of mics record and I can't get the 3rd channel to operate, although it looks like it's functioning on the screen. I try MUTE / SOLO and selecting the correct channel, but nothing!
    All I can do is record myself playing guitar through the mics I cannot switch off.
    Strange machine! Almost wishing I'd not sold my Mackie Onyx 1220 so swiftly.

  • Another volume control problem after installing new software

    I'm having a different volume control problem than the previous poster.
    When I turn my ipod touch on, the volume control stays on the screen. I can't do anything to get rid of it. When I go into settings/sounds, the control goes away on the screen, but it will not let me turn the volume up. When I try to listen to music through my headphones, I can turn the volume up but then it automatically turns itself down. The same thing happens when I try to turn the volume up from the side control. It worked fine this morning before I installed the new software and now it's acting buggy. Any ideas on how to fix this?

    Friend should do an update again your team blackberry.
    Remember to make a backup with Desktop Manager and the BlackBerry protect
    Having BBSack to apply wipe, factory reset wipe more, following which you do a software update via Loader.
    Software For BlackBerry® Torch™ 9800 smartphone
    BlackBerry Handheld Software v6.0.0.3170 (Multilanguage) 
    Package Version: 6.0.0.3170
    Consisting of:
    Applications: 6.0.0.756
    Software Platform: 6.6.0.252
    File name: 9800M_PBr6.0.0_rel3170_PL6.6.0.252_A6.0.0.756_Vodafone_Spain.exe
    File size: 171.22MB
    https://swdownloads.blackberry.com/Downloads/entry.do?code=15D4E891D784977CACBFCBB00C48F133
    Regards.
    Kudos ** Do not forget to give those people who help and advise you regarding your questions ** Can
    Accept as Solution to ** Comments **
    @gutijose14
    BBM Channels  PIN: C0007093A
    Do not forget to give LIKE    Those people who help you and advise you about your doubts.  if the review has been SOLVED** # 4LL  #ÉliteRoad  Make a backup of your BlackBerry
    BlackBerry Protect and  BlackBerry Link constantly.  #ichooseBlackBerry10 Gutijose14 Forums Veteran I

Maybe you are looking for

  • Hiding a Complete Subscreen in a main Screen

    HI All,          I have a req in which there is 5 subscreens present in one main screen. My issue is i want to hide a complete Subscreen based on 1checkbox present in that mainscreen itself. After checking that checkbox user will be pressing ENTER. A

  • Pass a variable value to SQL Command in OLEDB Source

    Hi,   I have the OLEdb Source where it has SQL Command as Data Access Mode. Below is the sample query that i have in that. DECLARE @MonthOffSet int = 24 DECLARE @PaidDate_SK_Low datetime = dateadd(mm,MONTH(getdate())-@MonthOffSet-1,dateadd(year,dated

  • Sap business one studio 9.0 for microsoft visual studio 2010

    Hi Experts, After added a new project, Sap business one 9.0 Add-on Project, that project can't be loaded in Visual Studio 2010. When try to re-load the project in the Solution Explorer, the project stays as (unavailable), and the next line says, The

  • Reader 9.0 install problem

    I too am having problems with this install. The message is twofold: Network not supported; then it's looking for something called 'sfr.msi file'. I tried the windows cleanup suggestion, got another error from them saying " cannot find script engine f

  • ID6 -- Problem with ordinals in legacy documents

    I recently acquired CS6, and am experiencing a strange problem with documents created in the original Indesign CS.  I typically leave the ordinal flag turned on in the OpenType menu.  This used to work just fine -- it recognized when a string of char