Zooming to certain map locations

Can someone give me some pointers as far as how to zoom into(hence zooming the map outward) set locations on a map, yet only those locations. I have a script which will zoom to your mouse location and also if I set the specific x and y, but still zooms when clicking on any other spot.
Long story short how do I zoom to only a set location and nothing else within a map/image.
thanks for any help provided as Im really stuck here.

could you give me an example as to how to check currently Im using this script(which isn't mine) which zooms based on the mouse location, it works great, but Im trying to get it to zoom only to set points: I may have to bag this script all together....
thanks for any help
onClipEvent(load)
    var i = 0; 
onClipEvent (mouseDown) {
    if (i>0) {
        return;
    zoom = true;
    dir == 1 ? (dir=-1) : (dir=1);
    if (dir == 1) {
        pt = {x:_root._xmouse, y:_root._ymouse};
  //pt = {x:142, y:182}; //I tried to set this based on the x and y of one of the locations but since the map is looking at the root it doesn't work this way
onClipEvent (enterFrame) {
    if (!zoom) {
        return;
    _root._xscale += dir*i*30/20;
//map._xscale += dir*i*30/20;//x of movie clip, tried to set the scale to the mc but didn't work
    _root._yscale += dir*i*25/20;
//map._yscale += dir*i*25/20;//y of movie clip
    var pt2 = {x:pt.x, y:pt.y};
//var pt2 = {x:141.9, y:177};
    _root.localToGlobal(pt2);
//map.localToGlobal(pt2);
    _root._x -= (pt2.x-pt.x);
//map._x -= (pt2.x-pt.x);
    _root._y -= (pt2.y-pt.y);
//map._y -= (pt2.y-pt.y);
    i++;
    if (i == 12) {
        zoom = false;
        i = 0;

Similar Messages

  • Safari 8 hover does not work over google map location pins

    OS X 10.10.1,   Safari 8,  Java 8-25
    I have always had little odd things not work when using safari on a large % of websites I visit,  the latest issues are
    no response when hovering over google map location pins, travel site calendars not opening or responding to mouse, drag and drop
    show the item being dragged several inches away from the actual pointer, some links don't respond, missing items
    or odd layout with print or pop ups going off the screen on some website pages, zooming in and out does not help. I have none
    of these issues when using Firefox or Chrome. Been using Safari for 4 years now.

    Have you tried a PRAM and an SMC reset? They're longshots, but don't take long to try.
    PRAM: http://support.apple.com/kb/HT1379
    SMC: http://support.apple.com/kb/HT3964
    Have you run Apple Diagnostics from the disc(s) that shipped with the computer?
    Since the problem occurs in all browsers, it still sounds like a video hardware or video RAM or maybe a software issue having to do with layers and rendering.
    The map layers aren't getting rendered, or if rendered, aren't getting displayed.
    Do you have any browser add-ins? Pop-up blockers?
    Since you have two video chipsets, it's possible that might be related to the issue.
    This non-Apple website talks about switching between chipsets on the various MacBook models so equipped, and points to a free 'donationware' program for the menubar that lets you easily switch between chipsets:
    http://www.everymac.com/systems/apple/macbook_pro/macbook-pro-unibody-faq/macboo k-pro-unibody-switching-between-graphics-processors.html
    Trying to think of other software that might help pinpoint the problem, does the iPhoto Slideshow 'Shatter' template work? Working properly, it 'shatters' images into several color layers and rotates them in and out to build and deconstruct photos.

  • Maps Location Problems - PLEASE HELP

    I have an 8 Gb iphone with firmware 1.1.4 and am trying to use the maps location feature. it will not work unless i turn my WiFi off and then try to locate and once i have been located i can turn WiFi back on and get a more accurate location. even if i am not connected to WiFi but i still have the WiFi feature turned on it will not work. please help

    I recall this post before. Were you the same one that posted it? The Google map location function seems to be the problem here, and it could be an issue with the application. Did you try the troubleshooting steps in order, power off/on, reset, restore? If you did and that doesn't seem to fix it, then I suggest a trip to the Apple Store Genius bar. I also find it interesting that once you get a location, that turning on the WiFi gets it more accurate. I've not seen that. The location goes out and gets its information from a webserver. If there is an issue connecting to their database, I don't know that you would get an error message. I think I posted the name of the server before, I just can't remember it now. There is a way to update location information with that service, it is posted on their webpage. I know I have the location saved on my desktop, it's is just that I'm away from home right now on my laptop. I'll see if I can find it for you.

  • ATP check in certain storage location based on item category

    hi gurus,
    i need to know whether any one can help me. i need to know how to set the availability check in certain storage location by each item category. such as :
    mat A item category TAN, ATP check only include in SLOC 01,02,03
    but mat A with item category TANN, ATP check only include SLoc 04.
    case:
    in MMBE:
    mat A
    plant 1000 pc
         sloc 01 - 400 pc
         sloc 02 - 200 pc
         sloc 03 - 300 pc
         sloc 04 - 100 pc
    so when create SO:
    1. mat A itCat TAN qty 1000pc
       (Sistem will say that the stock not enough, bcoz stock in Sloc 01,02,03 only 900pc)
    2. mat A itCat TANN qty 200pc
    (Sistem will say that the stock not enough, bcoz stock in Sloc 04 only 100pc)
    actually i prefer to use the standard solution but i think that must be use user exit, if so, do u know which user exit i shuld used, if not maybe u have a standard solution,.
    thank you so much..
    regards,
    cindy
    Edited by: cindy himawan on Feb 22, 2008 6:17 AM

    Hi
    As per my knowledge there is standard solution available for your requirement.. you may need to do some customisation using Z tables..
    Muthupandiyan

  • I lost tons of metadata (pin/map locations for places visited). it just disappeared after days of work.  any ideas on recovery?

    I lost tons of metadata (pin/map locations for places visited) on aperture after days of work entering it (over 400 locations visited). any ideas how to recover it? i can't find it anywhere.

    What happened before the data were lost? Did Aperture crash?

  • Mapping location errors caused by 3G

    I was very puzzled as my iPod touch could locate me within 20 m in the house whereas my iphone thought I was 200km away and only when I went outside and A-GPS could work did it correct itself. However I have discovered if I turn off 3G then the map location immediately switches to the correct location. If I turn off all cellular functions ( airplane mode ) and just use wireless again the location is accurate. I assume it is using cell towers to triangulate when A-GPS is not available and wonder if the 3G signal is interfering and hence leading to the wrong result. Anyway there is clearly a bug and I wondered if anyone else has the same problem.

    for anyone that googles this error, i resolved this error by using SMQ1/SMQ2 and restarting some jobs that were in SYSFAIL status

  • How to display only images that do not have a map location assigned

    I just upgraded to PSE 11.  So far so good.  I am running Windows 7 64-bit, SP1.
    I'd like to find out how to search for all of my photos that do not have a map location assigned to them. 
    Is there a way to do this?  It may be built in, but so far I have not been able to figure it out.
    Thank you.
    Message title was edited by: Brett N

    Hi,
    I think that if you select the Places view, the images shown are the ones that you have already placed. If you then click on Add Places (at the bottom) the filmstrip across the top shows the images that haven't been placed.
    If you then place one of those images, a small icon appears in the filmstrip until you next close that window (click on Done).
    Hope that helps
    Brian

  • How do I remove the rectangle label on a Maps location but leave the red pin?

    How do I remove the rectangle label on a Maps location but leave the red pin?  I find the label can get in the way and I can't read the map properly, if I could see only the red pin then I could read the streets around it.  If I touch the label then I get a new screen with address details.  Another thing I tried and I ended up with a course plotted to drive from my current location, neither of these things I wanted. 
    Thanks,
    GT. 

    Dear Tom,
    I appreciate your time in helping me with this issue.
    Hopefully the following will clarify my issues.
    Also, apologies I meant 1920 x 1080.
    Regards
    Marilyn
    File info:
    File before I import it into FCPX (no blur transparency on sides)
    File info within FCPX:
    File post export - see the grey transparency in the file?

  • Restrict certain Storage location from getting displayed in CO06 !!

    Dear all -
    We have implemented ECC 6 recently & I have a doubt about restricting certain Storage Locations
    in CO06.
    I have 2 storage locations for a plant and would like to restrict it in CO06 one of the storage locations.
    Is there any other way by which I can RESTRICT certain storage locations from getting displayed.
    I am putting in Logistics Execution threat, with an anticipation thall ALL logistics module experts will be able to see this and respond.
    Thanks
    Arun
    Edited by: ARUN TULSI on Jun 25, 2008 10:14 AM

    Dear,
    System determine issue storage location from the material master, the value of the storage location of the BOM item, or the storage location from the supply area.
    Check in BOM component details storage location you have defined.
    Check production storage location from the plant segment of the component is taken into account for the use of MRP areas also. When planned order is being created for the superior assembly in a MRP area?
    Also check the Material requirements planning (PP-MRP)
    --> planning process
      --> BOM explosion and dependent requirements determination
        --> storage location determination for BOM explosion
    Regards,
    R.Brahmankar

  • Siri/map Location Issues after ios 6 Upgrade

    So I updated my iPhone 4S to ios6 last week, and I noticed today that I am having location/maps issues when I ask Siri to locate restaurants near me. I was traveling for work today, and ask Siri to find restaurants near me, and the location services arrow came on at the top right of my iphone that it was working. Well, it found restaurants for the location that I last had my Maps location services turned on at. I do not leave the Maps location services on all of the time and only turn it on when I need it. So, I turned it on after it didn't work correctly, then ask Siri to locate restaurants near me again, and it worked correctly that time. I turned the Maps location services off, drove 30 miles or so up the road and stopped at an interstate exit. Then, with Maps location services still off, I ask Siri to find restaurants near me again, and it still found restaurants 30 miles up the road where I last had the Maps location services on. What gives? Before ios 6, Siri did not need to have the Maps location services on to locate restaurants near you. This is a bug and needs to be fixed. Is anyone else having this problem and is there a solution?

    So I updated my iPhone 4S to ios6 last week, and I noticed today that I am having location/maps issues when I ask Siri to locate restaurants near me. I was traveling for work today, and ask Siri to find restaurants near me, and the location services arrow came on at the top right of my iphone that it was working. Well, it found restaurants for the location that I last had my Maps location services turned on at. I do not leave the Maps location services on all of the time and only turn it on when I need it. So, I turned it on after it didn't work correctly, then ask Siri to locate restaurants near me again, and it worked correctly that time. I turned the Maps location services off, drove 30 miles or so up the road and stopped at an interstate exit. Then, with Maps location services still off, I ask Siri to find restaurants near me again, and it still found restaurants 30 miles up the road where I last had the Maps location services on. What gives? Before ios 6, Siri did not need to have the Maps location services on to locate restaurants near you. This is a bug and needs to be fixed. Is anyone else having this problem and is there a solution?

  • Zoom in/out map

    I asked guys on Dreamweaver how I could create the page showing a similar zoom in/out map as on the below link.  I was referred to come here.  Could anyone tell me, please? How do I achive the zoom in/out effect?
    http://www.royalparks.org.uk/parks/kensington_gardens/

    I don't know what code you are talking about.  IF you have thew original fla file for this, then you have all the answers you need in it, you just need to figure out how they are implemented.  As far as the different points on the map, those are most likely movieclips that have mouse event coding applied to them so that they animate when rolled over/out. Each one appears to be a unique symbol that would be in the library due to the inconsistent spacing around the titles that appear when hovered.

  • Magic Mouse unintended zooming in Google Maps

    Has anyone found a solution for this yet? Any settings to be done that keep the Magic Mouse from unintended zooming in Google Maps?

    n/a

  • Sharing Pinned "Maps" Location in Aperture

    Has anyone figured out a way to "share" a pinned location in Maps to Aperture?  I know that Aperture uses Apple maps for locating a photo but if I've pinned the location in the Maps application either in OS X or on an iOS device it would be nice if it automatically showed up in Aperture's map location view.

    I don't know of any easy and automatic way to get the map locations from the Maps.app to Aperture.
    What I am doing, to extract the locations from the Maps.app, is to use the Information panel of the dropped pin to share the location by email.
    The email will contain a contacts card. If you open this contacts card in Contacts.app, you will see the address and a map query url. The URL contains the latitude and longitude.
    You can enter these coordinates into the "Manage  My Places" search field in Aperture, and the "Additional Results" panel in Aperture will take you to the place on Aperture's Places map.
    Then create a new place from there - that is a rather involved work-around.
    Tha Contacts will not let you copy the coordinates directly from the link. I open the vcard simply in TextEdit, to be able to copy and paste the latitude and longitude.

  • When I open some images, blank white boxes appear on the image past a certain zoom point in random locations. This does not show up in the tools though (liquify, camera filter, ect). how do i stop this from happening?

    It happens mostly at random, but once it shows up on an image, even if i close and re open it it will still show up. if i zoom out far enough it will disappear, but as soon as i zoom back in again it will reappear. its never in the same spot on different images and never the same size. i was already on with tech support and they deleted my settings folder which seemed to fix it for a short time (like a week), does anyone know what is causing this or how to fix it?
    *this is not my art, just an example of it happening

    it may have worked, but gimping my system isn't exactly a solution, more of a band-aid.
    its the equivalent of the old
    patient says, " its hurts when i do *this* "
    doctor replies," well, don't do that "
    What do you mean "it may have worked" – did it or did it not?
    Anyway it is not a remedy but diagnostics and if it makes a difference it points at the GPU driver as a likely culprit.

  • Lightroom 4.x Maps location

    Hello,
      I love the new Maps feature in LR 4.x. However, there is a small annoyance:
    - Select some pictures and to into the Maps module
    - Search for a city, as an example "Paris"
    - select some of your picture, zoom, and click on the map where you want to assign your picture position
    - Do "Add GPS ..."
    - Perfect. Now, you want to set some others coordinates for the next pictures. This coordinates are pretty close to the just done.
    - Select the next pictures...
    - LR 4.x reset the position to "Paris" .
    To my mind, LR should only reset the position to the previous search if the user actually "search" and not automatically.
      Thanks

    That's been bugging me too. I've taken to deleting the search term from the box once I'm 'at' the location if I'm adding images to various positions within that location - this avoids it resetting back to the default location co-ordinates each time you select another set of images.
    Despite this minor niggle, I too am loving the map feature.
    M

Maybe you are looking for

  • A thinkpad is no longer a Thinkpad.

    I feel like I need to make a post about it. My first thinkpad was a T43, it was really well build even with all the bad treatment, I got it for 3yrs and I got a good resale price for it. Then I got the X300, which was the best laptop I ever had. Lite

  • Reg: Uninvoiced Receipts Report

    Hi Consultants, We have a issue with Uninvoiced Receipts Report report for perion Oct-2009 and Nov-2009, User obeserved that some line of a PO is generated in Nov period but this lines are not generated in Oct-2009 user asking why it happen like that

  • Enable/disable ACLs for a volume

    where is the option enable/disable ACLs for a volume in leopard server 10.5x? I searched in Server Admin and there Volumes - but I cant find this option which is described in this forum ?!

  • USE of  DBMS_STATS

    Hi All I want to use the dbms_stats package to gather the statistics EXEC DBMS_STATS.EXPORT_SCHEMA_STATS ( ownname => 'SCOTT', stattab => 'DBSTATS', statid => 'SCOTT' || '_' || TO_CHAR(SYSDATE,'MMDDYYYY'), statown => 'DB_MONITOR'); In the above synta

  • Nikon users - RAW processing comparisons.

    Anyone care to take a look at Aperture default RAW NEF processing vs. LR2 with new camera profiles vs. NX2 with new "picture controls". Here is a typical torture test image with tons of contrast in the scene along with lots of subtle and not so subtl