Write some code for infoboxes from geojson using Bing Maps SDK


I'm teaching myself how to use Bing Maps SDK to create online maps. I'm having trouble creating infoboxes for my geojson feed & would appreciate it if someone could write the code.



In the link above, if you click a point on the map, an infobox pops up with description/title.

Please cut'n paste the code below into the Bing Maps SDK javascript windows:

var map = new [url removed, login to view]([url removed, login to view]('myMap'), {

credentials: 'Your Bing Maps Key',


//Load GeoJSON module.

[url removed, login to view]('[url removed, login to view]', function () {

//Read the GeoJSON file that is hosted on a different domain but has CORs enabled.

[url removed, login to view]('[url removed, login to view]',

function (shapes) {

//Add the shape(s) to the map.

[url removed, login to view](shapes);



As you will see, when you click on the points from the geojson feed, they doesn't have infoboxes.

Below is an example of the attributes from the geojson feed:

{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"OBJECTID":25,"ID":"CAM00080","Title":"MF/HODGES DR WEBCAM - CAM080","Direction":"NW","href":"[url removed, login to view]"},"geometry":{"type":"Point","coordinates":[115.76402900000005,[url removed, login to view]]}},

Could you please write some code which addes infoboxes to my geojson points. Please populate the infobox with info from the geojson feed. For example:

ID: CAM00080


Direction: NW

href: [url removed, login to view]

Lastly, if my geojson had info for a jpeg... I would like the photo to display in the infobox.

I will cut'n paste your code into the Bing Maps SDK to see how it works.

Hope that makes sense.

Please see this forum post if you need more info:

[url removed, login to view]

Look forward to hearing from you.



Compétences : Cartographie & Plans , Géospatial, API Google Maps, HTML, JSON

en voir plus : software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, example awgn channel using code matlab, capture movie using code, software write books, login site using code, set title page using code, cloning youtube using code igniter, setting gridview width column using code behind, software write protection, using code uploading, free software write book, software write book, batch process scan using code, iphone gps google maps develop integrate source code, digital alarm clock pic using code, dynamic crystal report using code, payment gateway aspnet using code

Concernant l'employeur :
( 2 commentaires ) Perth, Australia

Nº du projet : #13462636

Décerné à:


Hello I investigated the API and I know how to accomplish it. I can write some sample code for you if you want. Contact me to discuss further details. Kind regards, Albert van Halen

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% AUD en 1 jour
(30 Commentaires)

3 freelance font une offre moyenne de $30 pour ce travail


you can use a map plugin than solved this problem are you understated and contact me.................................................

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(0 Commentaires)

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% AUD en 6 jours
(0 Commentaires)

i work using thinks like that contact me.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% AUD en 1 jour
(0 Commentaires)