Displaying 14 results from an estimated 14 matches similar to: "regarding polylines"
2010 Jan 13
8
How to use getCenter
Hi,
I am starting to use Mapstraction with the openlayers provider, and I am not
sure how to retrieve the current center of a map in a cross-provider way.
i.e. currently when calling map.getCenter(), the result returned is the
openlayers internal one, not the long/lat used when calling setCenter().
Is that the expected behaviour?
Regards,
Philippe
-------------- next part --------------
An
2010 Aug 30
4
Implementation of openBubble for openlayers
Hello,
I''m back with another problem, the method Marker.openBubble isn''t
implemented yet. I tried to hack a solution but I encountered some problems.
When the popup is created in the toProprietary method from Marker in
mxn.openlayers.core.js, I keep a reference on it with a this.infoPopup =
popup.
Later in the openBubble method, I do :
2009 Jan 21
7
Panning map to a point vs. setCenter
Several map providers have functions to pan to a location, as opposed
to the direct setCenter call. Panning animates the move from one point
to another. To implement this in mapstraction, I created a panCenter
function.
I don''t know how to go about committing the change to svn, or who
decides whether my naming convention is worthy, but I thought I''d
share the function
2010 Apr 30
6
addListener
I am trying to use the marker method addlistener(). A simplified version
of what I''m trying to do:
var map;
var marker;
map = new mxn.Mapstraction(''myMap'',''google'');
map.setCenterAndZoom(new mxn.LatLonPoint(45.559242,-122.636467),
15);
marker = new mxn.Marker(new mxn.LatLonPoint(45.559242,
2009 Oct 22
6
Mapstraction V2 Geocoder?
Hey all,
I''m wondering about your thoughts on upgrading the Geocoder to use
Mapstraction V2. Currently it uses the old syntax (i.e., for
LatLonPoint, etc.):
http://mapstraction.appspot.com/#geocoding
Moving from V1 to V2 is fairly simple changes to the code. However, I
wonder whether we want to update the way the geocoder is structured,
as well? Some options:
1) Roll geocoding
2008 Mar 11
0
support passing dom element to Marker''s setInfoBubble
Hi,
The Marker class has the method setInfoBubble(String html/text).
Unfortunately I am unable to add a DOM element where I need all the event to
fire. If I add the string represtation of the DOM node to setInfoBubble(..),
it renders fine but all the controls no longer fire events. Is there a way
to have the elements in the infoBubble fire events using the current API? If
not would if be possible
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
Author: duvander
Date: Sun May 31 17:34:27 2009
New Revision: 12
Modified:
trunk/source/mxn.cloudmade.core.js
Log:
Implemented most Cloudmade functions. Still requires image, tile and
KML/GeoRSS overlays
Modified: trunk/source/mxn.cloudmade.core.js
==============================================================================
--- trunk/source/mxn.cloudmade.core.js (original)
+++
2009 Jan 31
4
marker.closeBubble()
Any reason why there''s no closeBubble function in Mapstraction? It''s
supported by at least Yahoo (closeSmartWindow) and Google
(closeInfoWindow).
A related issue, but not as clear-cut: a bubble closed event. I know
Google supports this, but I haven''t investigated further.
--Adam
2008 Jun 20
2
map24 help
Hi Mapstraction Experts,
I am trying to do some shortest path routing for a project with
university of utah and uc berkeley.I am trying to use the map24 api using
the mapstraction api but i tried a lot and cant fix this error
"Map24.loadAPI is not a function".Any help on this is greatly
appreciated.This below is the code.(Note:mapstraction works excellent with
google and yahoo)
2010 Aug 09
3
New build 2.0.5
Just applied some changes from Adam and Dylan and uploaded a new build. Good
stuff guys, thanks.
Get 2.0.5 here:
http://github.com/mapstraction/mxn/downloads
Derek
--
Derek Fowler
m. +44 (0) 7966 512 369
e. dezfowler at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 May 20
1
AddOverlay for GeoRss Feeds, GeoRSS support
On Mon, May 19, 2008 at 4:36 PM, Pierre Romieux <promieux at gmail.com> wrote:
> Hi,
>
> Sorry for this email, but I need your help. I''m testing Mapstraction and I
> have problems with GeoRss. I''m not able to link the GeoRss markers.
> I have copied the sample with full code but nothing. The markers layer are
> not added to my page. All js are ok.
2007 Jul 13
0
layers of polylines, events building up on map
Hi all,
Here''s my situation:
I have a little route creation app that lets a user create a route.
I''m using the mapstraction version of ym4r...
here is the workflow:
first page has a map displaying the start point of existing routes.
if they click "new route:
creates a route_object
clears all polylines in case there are any
clears all the markers and adds an onclick
2009 Mar 17
0
removeEventListener and polylines
Hello, my name is Mario and I''m new to Mapstraction (and to Javascript too).
I''d like to know how can I remove a listener previously added with the method addEventListener. I found nothing on the documention so I coded a removeEventListener method. If you think it will be useful I can post it (but as i said I''m a newbie to both Javascript and Mapstraction so it can be
2009 Jan 08
20
Mapstraction V2 Architecture Demo
Hi all,
I''ve been fiddling with some mapstraction architecture ideas and before I
lose my mind (caller, calleee, apply, arguments, pop!), I wanted to share my
progress.
Please see here for details:
http://www.thegecko.org/mapstractionv2/
I''m by no means a javascript guru, so I would appreciate any feedback you
may have :)
Kind regards,
Rob
-------------- next part